Search found 32 matches

Go to advanced search

by umardastgir
Wed Jun 19, 2019 7:44 pm
Forum: Python scripting and macros
Topic: Bug in FreeCAD?
Replies: 10
Views: 628

Re: Bug in FreeCAD?

Was anyone able to figure this out? I'm quite sure its a problem with FreeCAD library, but is there any possibility of this being fixed in Future Versions?
by umardastgir
Tue Jun 11, 2019 9:39 pm
Forum: Python scripting and macros
Topic: Bug in FreeCAD?
Replies: 10
Views: 628

Re: Bug in FreeCAD?

Hello Yorik, I honestly think the problem is not in the file. As I mentioned above, the online website renders it perfectly. I am also having the same problems with .dae format for different files. Should I attach more files that have the same problem? (.dae and .3ds)? In case you come to know what ...
by umardastgir
Mon Jun 10, 2019 4:45 pm
Forum: Python scripting and macros
Topic: Bug in FreeCAD?
Replies: 10
Views: 628

Re: Bug in FreeCAD?

So does that mean FreeCAD has a bug and can not import 3ds/dae files properly?
by umardastgir
Fri Jun 07, 2019 9:41 pm
Forum: Python scripting and macros
Topic: Bug in FreeCAD?
Replies: 10
Views: 628

Bug in FreeCAD?

Hello everyone. I was working on a project recently to convert .dae and .3ds files to .stl format and I was using FreeCAD Python libraries for this purpose. After I was done developing, I tested the software with a few input files and it worked fine. I started working on a different module of the pr...
by umardastgir
Tue May 21, 2019 5:39 pm
Forum: Python scripting and macros
Topic: Bounding box for .stl mesh
Replies: 7
Views: 315

Re: Bounding box for .stl mesh

Volume of the part (stl mesh). And I also need the surface area.
I have done the following:

Code: Select all

FreeCAD.getDocument("Unnamed").Objects[0].Mesh.Area
FreeCAD.getDocument("Unnamed").Objects[0].Mesh.Volume
And this does give me the area and volume, but is this the right approach?
by umardastgir
Tue May 21, 2019 4:11 pm
Forum: Python scripting and macros
Topic: Bounding box for .stl mesh
Replies: 7
Views: 315

Re: Bounding box for .stl mesh

Thanks a lot for your response! How do I calculate the volume though?
by umardastgir
Mon May 20, 2019 11:12 pm
Forum: Python scripting and macros
Topic: Bounding box for .stl mesh
Replies: 7
Views: 315

Bounding box for .stl mesh

I am working on a project to input an .stl mesh and calculate the volume and bounding box using a python script. I believe FreeCAD has a python console that spits out a code for whatever operation someone performs. I turned the bounding box attribute to true and a bounding box appeared with the appr...
by umardastgir
Thu May 16, 2019 7:28 pm
Forum: Help on using FreeCAD
Topic: Converting .stl to .step using Python and FreeCAD
Replies: 0
Views: 100

Converting .stl to .step using Python and FreeCAD

I am working on a project to convert a .stl file to .step in Python. I followed https://www.youtube.com/watch?v=g_UeaFTmbRs youtube video on how to do this with the help of a GUI. In took help from the Python Console built-in FreeCAD and came up with the following script. In the Script below, I am u...
by umardastgir
Wed May 15, 2019 7:07 pm
Forum: Help on using FreeCAD
Topic: view color coded thickness in FreeCAD
Replies: 1
Views: 77

view color coded thickness in FreeCAD

Hello everyone, I have a 3D printer that I use a lot to print parts from different people. Before printing, I generally view the parts in FreeCAD software. Sometimes, the part dimensions are such that the 3D printer won't print them (or it would be difficult for it to print). Is there a way I can se...
by umardastgir
Wed May 01, 2019 7:04 pm
Forum: Python scripting and macros
Topic: Converting .sldprt to .stl
Replies: 4
Views: 960

Re: Converting .sldprt to .stl

Thanks for your response NormandC. I am looking to convert .sldprt to .stl using a Python script, rather than using a user interface.

I did find some resources online (GradCAD, Datakit Cross manager etc.) but all these methods (as far as I know) provide a user interface and not APIs.

Go to advanced search