Performance: Subtractive helix & Polar Pattern

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
imm
Posts: 251
Joined: Wed Nov 03, 2021 1:00 pm

Re: Performance: Subtractive helix & Polar Pattern

Post by imm »

chrisb wrote: Wed Mar 08, 2023 10:14 am I have reworked the file to use only a single pipe and no PartDesign helix.
What did you use to produce the 'Helix' object ? I am not aware of an alternate means to create the helix..Can you tell me the workbench it is available on? or is it a macro?
User avatar
Jolbas
Posts: 327
Joined: Sat Mar 26, 2022 7:48 am
Location: Sweden

Re: Performance: Subtractive helix & Polar Pattern

Post by Jolbas »

imm wrote: Thu Mar 09, 2023 7:42 am What did you use to produce the 'Helix' object ? I am not aware of an alternate means to create the helix..Can you tell me the workbench it is available on? or is it a macro?
It's in the PartDesign workbench as in the quote in your own post. Look for Additive helix in the toolbar.
imm
Posts: 251
Joined: Wed Nov 03, 2021 1:00 pm

Re: Performance: Subtractive helix & Polar Pattern

Post by imm »

In his file the icon for the helix is not the 'additive helix' symbol.

helix-symbol-in-tree.PNG
helix-symbol-in-tree.PNG (11.27 KiB) Viewed 947 times
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Performance: Subtractive helix & Polar Pattern

Post by chrisb »

Jolbas wrote: Thu Mar 09, 2023 8:05 am It's in the PartDesign workbench
No. It is Part Helix, which I added to the body. Alternatively you can use the helix as a BaseFeature or create a PartDesign ShapeBinder for it.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
imm
Posts: 251
Joined: Wed Nov 03, 2021 1:00 pm

Re: Performance: Subtractive helix & Polar Pattern

Post by imm »

I took the time to recompute these files from FreeCAD 0.21 and FreeCADLink 2023.131 on my system ( ttr is 'Time To Recompute')
MySystemCPU_MEM.PNG
MySystemCPU_MEM.PNG (20.36 KiB) Viewed 860 times

Code: Select all

    FREECAD VERSION                   fc0.21.0      rtfc2023.131
 a19tooth-LH20deg-Involute-Spline_cb  4:07 ttr         1:23 ttr
 a19tooth-LH20deg-Involute-Spline     5:22 ttr         2:30 ttr
I have confirmed that neither of these Builds have the Software OpenGL enabled in Preferences.

At least on the Windows Builds from my view using taskviewer the RealThunder build is using all of the CPU cores at some point.
That seems to be were the bottleneck is in FreeCAD 0.21.

My FreeCAD 0.21 details are here.

Code: Select all

# fc0.21.0 details
# system
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.8.16, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * AnimationFreeCAD 1.0.0
  * Curves 0.6.5
  * freecad.gears 1.0.0
  * Nodes 0.1.36
  * PieMenu
  * sheetmetal

# ----------------
# libraries

Boost 1_74
https://www.boost.org

Coin3D 4.0.0
https://coin3d.github.io

Eigen 3.4.0
https://eigen.tuxfamily.org

FreeType 2.12.1
https://freetype.org

KDL 
https://www.orocos.org/kdl

libarea 
https://github.com/danielfalck/libarea

Open CASCADE Technology 7.6.3
https://www.opencascade.com/open-cascade-technology/

Point Cloud Library 1.12.1
https://www.pointclouds.org

PyCXX 7.1.7
http://cxx.sourceforge.net

Python 3.8.16
https://www.python.org

Qt for Python (PySide) 5.15.8
https://wiki.qt.io/Qt_for_Python

Qt 5.15.6
https://www.qt.io

Salome SMESH 9.8.0.2
https://salome-platform.org

Qt for Python (Shiboken) 5.15.8
https://wiki.qt.io/Qt_for_Python

vtk 9.1.0
https://www.vtk.org

Xerces-C 3.2.4
https://xerces.apache.org/xerces-c

Zipios++ 
http://zipios.sourceforge.net

zlib 1.2.13
https://zlib.net
And my FreeCADLink details are here

Code: Select all

# rtfc2023.131 details
# system
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2023.131.26244 +5365 (Git)
Build type: Release
Branch: LinkDaily
Hash: 73c4ca254c5de8849d104973482e98399fb24863
Python version: 3.10.8
Qt version: 5.15.4
Coin version: 4.0.1
OCC version: 7.6.3
Locale: English/United States (en_US)

# -------------------
# libraries

Boost 1_74
http://www.boost.org

Coin3D 4.0.1
https://coin3d.github.io

Eigen3 3.4.0
http://eigen.tuxfamily.org

FreeType 2.12.1
http://freetype.org

KDL 
http://www.orocos.org/kdl

libarea 
https://github.com/danielfalck/libarea

Open CASCADE Technology 7.6.3
http://www.opencascade.com

Point Cloud Library 1.12.1
http://www.pointclouds.org

PyCXX 6.2.8
http://cxx.sourceforge.net

Python 3.10.8
http://www.python.org

PySide 5.15.5
http://www.pyside.org

Qt 5.15.4
http://www.qt.io

Salome SMESH 
http://salome-platform.org

Shiboken 5.15.5
http://www.pyside.org

vtk 9.1.0
https://www.vtk.org

Xerces-C 3.2.4
https://xerces.apache.org/xerces-c

Zipios++ 
http://zipios.sourceforge.net

zlib 1.2.13
http://zlib.net

user1234
Veteran
Posts: 3345
Joined: Mon Jul 11, 2016 5:08 pm

Re: Performance: Subtractive helix & Polar Pattern

Post by user1234 »

imm wrote: Wed Mar 08, 2023 9:09 am OK File can be downloaded from https://github.com/webmite/FreeCAD-Samples
Is that Body a tool for a cut (for example for a pinion)?

Greetings
user1234
imm
Posts: 251
Joined: Wed Nov 03, 2021 1:00 pm

Re: Performance: Subtractive helix & Polar Pattern

Post by imm »

It is derived from my work on

viewtopic.php?p=653410&hilit=involute+spline#p653410

Intent is to produce an external additive spline on a base that can be linked as an external file at the end of the drafting process.
It can be linked to and used to do a boolean cut of any existing gear blank or shaft.

I am recording the toothcount and angle in the filename and standardizing the length, so people can import, align with the shaft, do a transform along the shaft to lengthen or shorten the 'cut' and have the helical splined gear 'feature' done with minimal interaction with the other shaft features.
Post Reply