You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used your app which seems really awesome.
I managed to switch to Azure OpenAI.
Now i can generate python files in the "generated" folder.
I have had issues with the generated id so i switched to UUID :
I also had issues as python and were added to the python script so it produced errors.
The workaround was to add in system prompt :
" You MUST remove python and .
You MUST remove ```.
"
I don't know if it has impact on generated file.
Here's an exemple of generated file :
importcadqueryascqimportcadqueryascq# Génération de la pièce principale avec une certaine forme et épaisseur uniforme de 3 mmmain_shape= (cq.Workplane("XY")
.rect(50, 50) # Exemple de forme, rectangle de 50mm par 50mm
.extrude(3)) # Épaisseur uniforme de 3 mm# Rajout des attachements pour vis M4 sur le côté gaucheattachment_left= (cq.Workplane("XY")
.center(-25, 0)
.circle(2)
.extrude(3))
# Rajout des attachements pour vis M4 sur le côté droitattachment_right= (cq.Workplane("XY")
.center(25, 0)
.circle(2)
.extrude(3))
# Combiner la pièce principale avec les attachementsobj=main_shape.union(attachment_left).union(attachment_right)
And it worked fine as python files are generated :
When the response is sent to tesselate function, it seems that there is something that does not go well :
I have issues to view files as viewer has errors on startup :
And i don't know if STEP files are generated at same time as python files.
Any help would be appreciated.
Thanks in advance.
Regards
The text was updated successfully, but these errors were encountered:
AlexCastroAlex
changed the title
Issue viewer and download
need informations about viewer and download
Jul 23, 2024
Hello,
I used your app which seems really awesome.
![image](https://private-user-images.githubusercontent.com/59048724/351190746-e6e65c61-509d-4aaa-aacb-a7442271f7a2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3NzEzOTAsIm5iZiI6MTczODc3MTA5MCwicGF0aCI6Ii81OTA0ODcyNC8zNTExOTA3NDYtZTZlNjVjNjEtNTA5ZC00YWFhLWFhY2ItYTc0NDIyNzFmN2EyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDE1NTgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZhYWE4OGUwNDljNmJmODRkMzBmYTgwMzM4NWJjOWE1MjZiYjE4OGQ4ZTg3NmVjYzgzOGU3YjQxYzEwM2Y4ZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QLvcmnRAvcs-jfVeK_mBZQ0jyg_3ioeTyMwyKEpH3XA)
I managed to switch to Azure OpenAI.
Now i can generate python files in the "generated" folder.
I have had issues with the generated id so i switched to UUID :
I also had issues as
python and
were added to the python script so it produced errors.The workaround was to add in system prompt :
" You MUST remove
python and
.You MUST remove ```.
"
I don't know if it has impact on generated file.
Here's an exemple of generated file :
And it worked fine as python files are generated :
![image](https://private-user-images.githubusercontent.com/59048724/351190896-854fbaca-0c33-41d0-8dd1-baef9123dfc4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3NzEzOTAsIm5iZiI6MTczODc3MTA5MCwicGF0aCI6Ii81OTA0ODcyNC8zNTExOTA4OTYtODU0ZmJhY2EtMGMzMy00MWQwLThkZDEtYmFlZjkxMjNkZmM0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDE1NTgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTczNzY3M2MzOTI5MDVkYzRjMDg3MjU5NTA1NzYxYjViNGZmNmRjNTY4NzZiYmJjZTgwM2M0ZWQ4MDAwYTA3N2QmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-MO6-r-ch7CfbWiRcn4AdjMeUSEP0Gitjx0qw20ryeo)
When the response is sent to tesselate function, it seems that there is something that does not go well :
![image](https://private-user-images.githubusercontent.com/59048724/351973910-98d9c1e3-acfb-48fc-b37b-309ca761021a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3NzEzOTAsIm5iZiI6MTczODc3MTA5MCwicGF0aCI6Ii81OTA0ODcyNC8zNTE5NzM5MTAtOThkOWMxZTMtYWNmYi00OGZjLWIzN2ItMzA5Y2E3NjEwMjFhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDE1NTgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJmZmNkYWQ3MDk3ODU3NjA0YmU2MmMzMDE4ZGY4NzE5ZWYyODQwN2E3NjZkMWRjYWNlMDNmZGE2NzEzOWVmNzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.UOFhiGSgvxPfX8_k4lKnPOBqCAq1pTJKTzZz4XAORwU)
I have issues to view files as viewer has errors on startup :
![image](https://private-user-images.githubusercontent.com/59048724/351190201-38b8dcb6-ef1e-4064-bdad-abc5c9ded63e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg3NzEzOTAsIm5iZiI6MTczODc3MTA5MCwicGF0aCI6Ii81OTA0ODcyNC8zNTExOTAyMDEtMzhiOGRjYjYtZWYxZS00MDY0LWJkYWQtYWJjNWM5ZGVkNjNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA1VDE1NTgxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0YWE2NzEwYTI2NzRhNzg3OTJjZWM4NDViY2Y5MDAxZTYxZjdjOTk1NzM1M2JkYWRlNDRmYWZkMjE2ZjI0YzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oAEU-hXLfKZMWvJ7PS8Bukbvd3E5aH35Sytq84h4bsw)
And i don't know if STEP files are generated at same time as python files.
Any help would be appreciated.
Thanks in advance.
Regards
The text was updated successfully, but these errors were encountered: