fellesverkstedet / Bark-beetle-parametric-toolpaths

A grasshopper plugin for digital fabrication. Enables direct fabrication of geometry with 3D printers, CNC milling, Laser cutters, Robot arms and more. Also featuring 1:1 augmented reality toolpath projections.
100 stars 18 forks source link

Postprocessor slower due to non-active components & clusters #53

Closed Siemenc closed 5 years ago

Siemenc commented 5 years ago

Components and clusters which are not in use inside bark beetle components tend to slow down calculation.

Siemenc commented 5 years ago

In the last commit I improved this by checking inside the component if a specific function or cluster will be used and if not send "null" as input to the clusters. This has only been implemented in the postprocessor for the drilling operation but I'll update the other ones soon as well.

See below for comparison of speeds:

190814 Before max 190814 After max

190814 Before max 2 190814 After max 2