Search found 14 matches

Go to advanced search

by naxq0
Wed Apr 10, 2019 1:40 pm
Forum: Developers corner
Topic: Release of 0.18
Replies: 780
Views: 61260

Re: Release of 0.18

can we expect this freecad-python2 folder to be there until the 0.19 Release? Simple answer is no, Python 2 is end of life so if your distro no longer has Python 2 FreeCAD will not either on your system. You have not told us what os you are talking about. Ah yes sorry. I'm on Ubuntu 16.04. But my q...
by naxq0
Wed Apr 10, 2019 1:27 pm
Forum: Developers corner
Topic: Release of 0.18
Replies: 780
Views: 61260

Re: Release of 0.18

Hi everyone :) I've been following the python2/python3 debate for a while and I personally also think that python3 is the way to go ;) That being said I have some scipts that use FreeCAD+python2 , which I've gotten to work in FreeCAD 0.18 using the freecad-python2 folder. I would like to eventually ...
by naxq0
Fri Mar 29, 2019 1:55 pm
Forum: Python scripting and macros
Topic: Random sampling of points on a surface
Replies: 3
Views: 224

Re: Random sampling of points on a surface

I've run into a similar problem of needing to uniformly sample the surface of a step file. The best solution would probably be to use a nice mesher like gmsh https://www.freecadweb.org/wiki/Macro_GMSH You could also use the Points workbench to get a pretty decent sampling, but you can't do that from...
by naxq0
Wed Mar 27, 2019 5:11 pm
Forum: Python scripting and macros
Topic: Visualizing edge or face from GUI based on memory adress
Replies: 3
Views: 229

Re: Visualizing edge or face from GUI based on memory adress

If you run it as macro within the FreeCAD GUI or directly in the python interpreter, you can just plot them:

Code: Select all

Part.show(edge_that_you_are_interested_in, "some_nice_name")
by naxq0
Thu Jan 10, 2019 2:49 pm
Forum: Job offers
Topic: FreeCAD server-side implementation project
Replies: 3
Views: 667

Re: FreeCAD server-side implementation project

Hello there Alexander,
I've also sent you a PM :)
by naxq0
Mon Nov 05, 2018 3:29 pm
Forum: Python scripting and macros
Topic: Issue with degenerated edges
Replies: 4
Views: 180

Re: Issue with degenerated edges

Hi and thanks for your reply :) I don't think the "isClosed()" method is supposed to work on faces. From what I understand, only shells, wires and edges can be closed. Even the face of a full sphere returns isClosed() = False Ah OK. thanks! Your face is trimmed from a BSpline surface that is maybe v...
by naxq0
Mon Oct 29, 2018 4:13 pm
Forum: Python scripting and macros
Topic: Issue with degenerated edges
Replies: 4
Views: 180

Issue with degenerated edges

Hi everyone! I was hoping to get your opinions on an issue I have Context As far as I have been able to find out, degenerated edges appear when you have edges that have length in the UV space, but not in the cartesian space e.g. when you extend a truncated cone, the upper circular edge ends up with ...
by naxq0
Tue May 29, 2018 8:43 am
Forum: Python scripting and macros
Topic: Oversized BoundBox from STEP file
Replies: 9
Views: 1275

Re: Oversized BoundBox from STEP file

https://www.opencascade.com/doc/occt-7.1.0/refman/html/class_b_rep_bnd_lib.html#aad43f924ff3d1ff0963005c4c6cdeb90 Hi, is this 'AddOptimal' method available in FreeCAD? and is it exposed to python to get a more precise BBox? Thanks Maurice That would definitely be a nice feature to add if its not al...

Go to advanced search