Search found 2127 matches

by Chris_G
Sat Aug 06, 2022 9:18 pm
Forum: Python scripting and macros
Topic: curveOnSurface
Replies: 3
Views: 270

Re: curveOnSurface

I don't know much about placement either, but I reached the same conclusion as yours.
by Chris_G
Sat Aug 06, 2022 3:54 pm
Forum: Help on using FreeCAD
Topic: pcurve and other FreeCAD concepts.
Replies: 6
Views: 332

Re: pcurve and other FreeCAD concepts.

I think the only thing that OCCT does slightly different from others, is separating the knot sequence into 2 lists (of equal length) : - knots is the list of unique knots (= not repeated) - multiplicities (integers) is the list that represent the number of repetition of each knot. So, a knot sequenc...
by Chris_G
Fri Aug 05, 2022 5:58 am
Forum: Python scripting and macros
Topic: curveOnSurface
Replies: 3
Views: 270

Re: curveOnSurface

so face.curveOnSurface(edge) maps the edge on the surface on which face lies More precisely, or maybe because english is not my native language, I would say that face.curveOnSurface(edge) returns the 2D representation of edge on face, if it already exist, otherwise, one has to project edge on face ...
by Chris_G
Wed Aug 03, 2022 9:21 pm
Forum: Help on using FreeCAD
Topic: Curves workbench
Replies: 1314
Views: 212230

Re: Curves workbench

Vincent B wrote: Wed Aug 03, 2022 7:55 pm
Chris_G wrote: Wed Aug 03, 2022 4:57 pm Set TrackCamera to False
ok, :D should be in data section. IMHO.
I don't agree : following the camera movements is purely a Gui thing, so it sounds more logical to me in the View section.
by Chris_G
Wed Aug 03, 2022 5:40 pm
Forum: Help on using FreeCAD
Topic: Curves workbench
Replies: 1314
Views: 212230

Re: Curves workbench

I'm using the Flatten Face tool and sometimes it ignores some edges without warning. In the example file flattening 'Face4' with 4 edges results in an open 2 edged shape. I tried to locate and fix by myself in the python script but it seems to originate deeper. Out of reach for me. I suspect Open C...
by Chris_G
Wed Aug 03, 2022 4:57 pm
Forum: Help on using FreeCAD
Topic: Curves workbench
Replies: 1314
Views: 212230

Re: Curves workbench

Vincent B wrote: Wed Aug 03, 2022 4:30 pm
Chris_G wrote: Thu Jul 21, 2022 9:19 am It now has a "TrackCamera" View property that recomputes on every camera move.
How to set like before "fixed view following direction" ?
Set TrackCamera to False
by Chris_G
Sat Jul 30, 2022 4:10 pm
Forum: Python scripting and macros
Topic: "Project on Surface" using Scripting.
Replies: 22
Views: 1402

Re: "Project on Surface" using Scripting.

Or you can build all the ruled surfaces that join the 2 offset letters, to close the solid.
by Chris_G
Sat Jul 30, 2022 12:03 pm
Forum: Python scripting and macros
Topic: "Project on Surface" using Scripting.
Replies: 22
Views: 1402

Re: "Project on Surface" using Scripting.

Code: Select all

help(FreeCAD.BoundBox.isInside)
by Chris_G
Thu Jul 28, 2022 2:57 pm
Forum: Python scripting and macros
Topic: "Project on Surface" using Scripting.
Replies: 22
Views: 1402

Re: "Project on Surface" using Scripting.

I have to extrude the face to make a relief, so i probably have to find the normal to project correctly the face obtained with the correct curvature. 1) for a cylinder it would be not a problem, but how to obtain a proper "extrude vector"? For a general curved surface, the normal vector i...
by Chris_G
Thu Jul 28, 2022 9:22 am
Forum: Python scripting and macros
Topic: "Project on Surface" using Scripting.
Replies: 22
Views: 1402

Re: "Project on Surface" using Scripting.

Here is another method. It uses a function that was added to FC yesterday, so you need a fresh build. This time, the target surface is converted to BSpline and its parametric space is stretched to match the wirestring "real world" dimensions. So it skips the intermediate projection on the ...