Category: 3D PRINTING
python – Constant Installation/Update Errors with Conda
I am following instructions to install PyChrono api.projectchrono.org/pychrono_installation.html Its failing at this step conda install -c conda-forge mkl=2020 It gets stuck at Solving Environment and errors out I tried to…
python – Selenium is returning empty text for elements that definitely have ID
from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.by import By import time driver = webdriver.Chrome() driver.get(‘https://www.google.com’) driver.implicitly_wait(5) #…
Converting String into Dictionary via Python containing invalid JSON
Another way, with .replace(‘\\”‘, ‘”‘) Code: import json input_string = “{\”SOAPAction\”:\”http://www.my-website..uk/path/To/service/v1/serviceAndLedger\”,\”ID\”:\”1sceas2-61ae-379dd-a9cd-c813fb07u8inb\”, \”info\”: {\”GMT\”:\”16/Nov/2022:12:13:46 +0000\”, \”client\”:\”10.177.147.71:42987\”, \”frontend\”:\”path/to_my_ip/12.189.66.213:8804\”, \”request\”:\”POST /path/service HTTP/1.1\”, \”body\”:\”\\/path\\/of\\/downloaded\\/file.xml\”, \”response\”:\”-\”}}” new_string = input_string.replace(‘\\”‘, ‘”‘) result_dict = json.loads(new_string) print(json.dumps(result_dict, indent=4))…
autodesk forge – Loading DWF document with 3D annotations in Viewer
We are trying to load a local ‘DWF’ document into the Viewer according to what is explained here: aps.autodesk.com/blog/dwf-and-pdf-support-forge-viewer The DWF file is created from an Inventor Part and contains…
sharepoint online – Get Forge App access token by manual triggering in Power Automate
To use OAuth2 V2, your request body of developer.api.autodesk.com/authentication/v2/token is not correct. The body you specified is still the old V1. Check the link aps.autodesk.com/en/docs/oauth/v2/tutorials/get-2-legged-token/ for the usage, Here is…