I have another question, can I still create lens without "import Part"?thyssentishman wrote: ↑Mon Jul 04, 2022 7:16 am
No problem glad I could help. If there is nothing else you need, please make sure to mark the topic as solved by editing the title of your first post and prepending [Solved].
Good luck!
Kind regards,
Johannes
[Solved]:How to create a convex lens
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Question:How to create a convex lens
Freecad novice, A Python enthusiast
-
- Posts: 82
- Joined: Mon May 16, 2022 10:35 am
Re: Question:How to create a convex lens
I don't know exactly what you mean. I suppose there are a lot of ways to achieve the same result and you are not necessarily bound to use the Part module.
As for using the scripts I sent you without the import Part line, I believe these will only work if the module was already imported in the FreeCAD session. I think this is done for example when you first load the Part or Part Design WB either manually or if they are auto-loaded on startup.
Kind regards,
Johannes
EDIT: Corrected minor spelling mistakes
Re: Question:How to create a convex lens
Thanks for your help, I think I get what you mean.thyssentishman wrote: ↑Mon Jul 04, 2022 8:19 amI don't know exactly what you mean. I suppose there are a lot of ways to achieve the same result and you are not necessarily bound to use the Part module.
As for using the scripts I sent you without the import Part line, I believe these will only work if the module was already imported in the FreeCAD session. I think this is done for example when you first load the Part or Part Design WB either manually or if they are auto-loaded on startup.
Kind regards,
Johannes
EDIT: Corrected minor spelling mistakes
Freecad novice, A Python enthusiast