You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PicoGK 1.7.5. is available now. No changes were made to the runtime, so if you are using PicoGK/ShapeKernel as submodules, you can just pull those modules and are on the same page as the installer.
Full release notes below, but I wanted to point out one new feature that stands out.
New Boolean Syntax
I decided to test out an idea I had, when I originally authored PicoGK last year, but had decided against for various reasons: Operator overloading for the Voxels object. With overloaded operators +, - and &, you can write voxel operations like math, something like:voxResult = (vox1 + vox2) - (vox3 + vox4) — I tested it on some of our internal code, and it simplifies many functions considerably.
+ stands for BoolAdd, - for BoolSubtract, and & for BoolIntersect (& is the bitwise and operator in boolean math, in case you are not familiar).
Looking forward to hearing your feedback.
Best,
Lin
PicoGK v1.7.5 Release Notes
PicoGK v1.7.5 adds significant new functionality on the C# side, but no changes to the runtime executable were made.
NEW: Many new functions were added to the Voxels object, inspired by the ShapeKernel
NEW: Added mathematical operators +, - and & to the Voxels object. You can now say Voxels vox = (vox1 + vox2) - vox3 for example. & is the intersection function (boolean AND). Check out the updated Ex_BooleanShowCase.cs for examples.
CHANGE: More enhancements to CLI output — now defaults to first layer filled, which seems to be the general consensus.
NEW: New functionality in CSV creation
NEW: FloatColor can convert itself to a string hex code
NEW: Viewer can now be queried whether it's idle. Good if you want to wait for a screen capture to complete, for example.
CHANGE: Shape Kernel now has support for various geometric shapes
CHANGE: Many Shape Kernel functions now map to the native PicoGK Voxels functions. Use the PicoGK functions if you start a new project, as the syntax is more concise.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Dear all,
PicoGK 1.7.5. is available now. No changes were made to the runtime, so if you are using PicoGK/ShapeKernel as submodules, you can just pull those modules and are on the same page as the installer.
Full release notes below, but I wanted to point out one new feature that stands out.
New Boolean Syntax
I decided to test out an idea I had, when I originally authored PicoGK last year, but had decided against for various reasons: Operator overloading for the
Voxels
object. With overloaded operators+
,-
and&
, you can write voxel operations like math, something like:voxResult = (vox1 + vox2) - (vox3 + vox4)
— I tested it on some of our internal code, and it simplifies many functions considerably.I go into more detail in the latest chapter of my Coding for Engineers book, so it's best to read up here: https://picogk.org/coding-for-engineers/12-computational-fixture-maker-4.html
+
stands for BoolAdd,-
for BoolSubtract, and&
for BoolIntersect (&
is the bitwise and operator in boolean math, in case you are not familiar).Looking forward to hearing your feedback.
Best,
Lin
PicoGK v1.7.5 Release Notes
PicoGK v1.7.5 adds significant new functionality on the C# side, but no changes to the runtime executable were made.
Voxels
object, inspired by the ShapeKernel+
,-
and&
to theVoxels
object. You can now sayVoxels vox = (vox1 + vox2) - vox3
for example.&
is the intersection function (boolean AND). Check out the updatedEx_BooleanShowCase.cs
for examples.Voxels
functions. Use the PicoGK functions if you start a new project, as the syntax is more concise.LineModulation
can now be scaledBeta Was this translation helpful? Give feedback.
All reactions