For a little test... transform a cube to a pyramid ... as the direct generation of the file don't yet works
Here the manual method not sure that really help! :)
1. Create the Base Shape ... Add a Curve/Rectangle node.
Set Width to 20 and Height to 20.
This represents the footprint of your shape on the ground.
2. Elevate the Top Profile... Add a Transform/Move node.
Connect the Rectangle output to the Objects input of the Move node.
In the Translation field, set the Z value to 30 (format: 0,0,30). This defines the height.
3. Control the Taper (The "Magic" Step) ...Add a Transform/Scale node.
Connect the Move output to the Objects input of the Scale node.
Crucial: Set the Center of the Scale node to 0,0,30 (the same height as your moved square).
Add a Basic/Slider node. Set its range from 0.0 to 1.0.
Connect the Slider output to the Factor input of the Scale node.
Slider at 1.0 = Cube
Slider at 0.0 = Pyramid
4. Group the Profiles... Add a Logic/BundleArray node.
Connect the original Rectangle (from Step 1) to In 1.
Connect the Scale output (from Step 3) to In 2.
This creates a list containing both the bottom and top squares.
5. Generate the Volume...Add a Construct/Loft node.
Connect the BundleArray output to the Profiles input.
MoI3D will now stretch a "skin" between the two squares.
6. Final Output... Add a Basic/Output node.
Connect the Loft output to it to see the final geometry in the MoI3D viewport. ...
Quick Tip: If you want the pyramid to be "solid" (a closed BREP),
make sure to check the "Cap ends" option if it's available in your version of the Loft node, or use a Solid/PlanarSrf on the result.
Curious result ... but surely schematic
