Curves workbench

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

The tool only works on Part.Cone and Part.Cylinder surfaces.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

I have updated ReflectLines tool.
It now has a "TrackCamera" View property that recomputes on every camera move.
This offers a kind of outline view mode, but it may not be smooth on slower computers.
Attachments
test_outline.FCStd
(20.7 KiB) Downloaded 35 times
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Curves workbench

Post by Jolbas »

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 Cascade but I'm not sure. I can workaround this using Mesh workbench but it's not that convenient.
ff_ex.png
ff_ex.png (70.23 KiB) Viewed 1390 times

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: C/Default (C)
Installed mods: 
  * kugghjul.py
  * __pycache__
  * sheetmetal 0.2.53
  * Curves 0.5.2
  * Assembly4 0.12.3
Attachments
flatten_test.FCStd
(124.6 KiB) Downloaded 25 times
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

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" ?
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

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
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Jolbas wrote: Wed Aug 03, 2022 4:20 pm 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 Cascade but I'm not sure. I can workaround this using Mesh workbench but it's not that convenient.
The tool fails to produce a closed wire.
I have pushed a fix so that it now returns a compound of edges in such situation (that's better than an broken face).
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Chris_G wrote: Wed Aug 03, 2022 4:57 pm Set TrackCamera to False
ok, :D should be in data section. IMHO.
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Curves workbench

Post by Jolbas »

Chris_G wrote: Wed Aug 03, 2022 5:40 pm I have pushed a fix so that it now returns a compound of edges in such situation (that's better than an broken face).
Great. Thanks.
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

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.
User avatar
onekk
Veteran
Posts: 6146
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Curves workbench

Post by onekk »

Chris_G wrote: Wed Aug 03, 2022 9:21 pm
Vincent B wrote: Wed Aug 03, 2022 7:55 pm 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.
As it is a Coin3d setting it have to be in View Tab, as in data there are usually things managed by OCCT and FC as 3d engine.

This separation between "3d geometric engine" and "3d view" (Coin3d) thing could not be so clear, but I think IMHO that is one if "basilar thing of FC" sometimes it appear as "hidden in plain sight".

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply