Questions tagged [freecad]

FreeCAD is a parametric 3D modeler. Parametric modeling allows you to easily modify your design by going back into your model history and changing its parameters. FreeCAD is open source (LGPL license) and completely modular, allowing for very advanced extension and customization. FreeCAD is multiplatfom, and reads and writes many open file formats such as STEP, IGES, STL and others.

FreeCAD is a parametric 3D modeler. Parametric modeling allows you to easily modify your design by going back into your model history and changing its parameters.

FreeCAD is open source (LGPL license) and completely modular, allowing for very advanced extension and customization. FreeCAD is multiplatfom, and reads and writes many open file formats such as STEP, IGES, STL and others.

91 questions
0
votes
0 answers

FreeCAD source code: deleting a mesh facet/triangle

Looks like there is a discrepancy in the FreeCAD source code. Code statements FreeCAD has this code for repairing…
Megidd
  • 7,089
  • 6
  • 65
  • 142
0
votes
1 answer

pivy.coin (COIN3D) Arrow-drawing is not rotating (FreeCAD - Python)

In my mind the code below is correct. But unfortunately I cannot rotate the arrow. Whatever angle I give to the function, it doesn't work. I don't know what is wrong with this code. Note: This is a part of my COIN3D Widget system I build for…
Ku Mu
  • 21
  • 6
0
votes
1 answer

python converting step file to stl's

A bit of background For simulating using openfoam, I create my mesh using snappyHexMesh and as an input I need triagulated surface files such as stl or obj for each object. In my company we work with solidEdge, which cannot export stl's from an…
Newfarmer
  • 349
  • 2
  • 9
0
votes
0 answers

How can I download the FreeCAD Python module through a MacOS Terminal shell?

I am trying to build a 3D model using FreeCAD Python software to simulate heat transfer through a material. I am currently trying to create a mesh to simulate a homogenous cube just to make sure it all works. I need to download the FreeCAD module to…
user15455230
0
votes
1 answer

Macro ignores parameter change

Given a FreeCAD model that consists of Spreadsheet "parameters" with a cell aliased as "radius" and value 50 Icosahedron (from the Pyramids-and-Polyhedrons macro) with Radius=parameters.radius some facebinders which are unimportant for the purpose…
Stefan Reisner
  • 607
  • 5
  • 12
0
votes
1 answer

Importing 3D CAD files in python as dask array

I am trying to import a 3D file created by TexGen in python. I would like to have a dask array at the end for further analysis. My file is in ".igs" format. I can open it with FreeCAD and export it in a variety of formats. I just don't know which…
0
votes
0 answers

Exception Value: libFreeCADApp.so: cannot open shared object file: No such file or directory

I can't figure out how to use external library as python module in production. Any help on this issue is much appreciated. I am importing FreeCAD as python module in my django app as follow. views.py import sys sys.path.append('freecad/lib') import…
Omkar
  • 19
  • 7
0
votes
1 answer

FreeCAD select all objects without Gui

I am trying to select all the objects in a stp file using FreeCAD with external python script. Is there any way to select all the objects form stp file with freecad external script without opening gui
0
votes
1 answer

Can I prevent FreeCad from caching Python files?

I am trying to learn Python scripting for FreeCad. In the folder "C:/p/Freecad/0.18/ZillmannTest" I have 2 files: Macro1.py and FCadHelper.py The content of Macro1.py is as follows: ############ import…
0
votes
1 answer

QPushButton doesn't do anything after clicking

I am a beginner with Qt and PySide with Python and I am facing a problem I don't know how to solve. I am working on FreeCAD and I try to design a simple window with push buttons but I can't make them work. When I click on them, their text should…
Gquere
  • 1
  • 1
0
votes
2 answers

Finding intersection points between .stl (CAD drawing) file and 3D plot (matplotlib)?

I am trying to find intersection points between 3d object .stl file (that I imported to python using numpy-stl) and 3d plot(that I generated using matplotlib). The 3d object is a cad drawing and 3d plot is a bunch of curves in 3d. I can plot them on…
Sara S
  • 101
  • 1
  • 4
0
votes
1 answer

FreeCAD: imported SVG is displaced

I have a simple drawing (just a box) made with Inkscape. The box is located in the bottom-left corner of the document (i.e Inkscape origin point). When I import it on FreeCAD (as geometry) it is placed very far from the origin point in the -Y axis…
oscarah
  • 113
  • 1
  • 6
0
votes
1 answer

Moving an egde in Z-axis

I am trying to push the marked edge in the Z-axis by a few millimeters. How do I do this in Freecad?
werty37
  • 53
  • 11
0
votes
0 answers

List denies to be appended

Below is a portion of python code which is meant to work with FreeCAD libraries. I can provide the full code if requested. What's weird in this code is that appending to a list, mr_fus.References, does no effect on the size of the list. I also tried…
Shibli
  • 5,879
  • 13
  • 62
  • 126
0
votes
0 answers

installation of numpy inside the shell using conda

For some reason I get the error message: During initialization the error Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['C:\Program Files\FreeCAD 0.18\bin\lib\site-packages\numpy']. One…
Foad S. Farimani
  • 12,396
  • 15
  • 78
  • 193