MoI discussion forum
MoI discussion forum

Full Version: Extrude Function request

Show messages: All  1-5  6-10

From: Michael Gibson
19 Aug 2020   [#6] In reply to [#5]
Hi Burr, yes all those different things are all parameters that can be set directly on an extrude factory by script code.

The parameters for the extrude factory go like this:

Index : Type - Description

0 : ObjectList "Objects" - Objects to extrude.
1 : Point "Distance pt" - Point defining the distance. Ignored if explicit distance is set.
2 : Number "Distance" - Explicit distance setting.
3 : Point "Dir A" - Custom direction, first point.
4 : Point "Dir B" - Custom direction, second point.
5 : Bool "Cap ends" - True = cap ends, false = leave ends open.
6 : Bool "Both sides" - True = both sides.
7 : Object "Path" - Path curve for tensor product style.
8 : Bool "Path reversed" - Is the path curve reversed from its original orientation.
9 : Bool "To point" - If true do pyramid style extrusion collapsing to a singluar point instead of a linear extrusion.
10 : Number "Draft angle" - If set do draft angle extrusion.
11 : Bool "Draft flip" - If true reverse draft angle.
12 : Bool "Keep separate" - If true keep face extrusions separate from their parent object rather than auto booleaning them.

- Michael
From: Cemortan_Tudor
19 Aug 2020   [#7]
http://moi3d.com/forum/index.php?webtag=MOI&msg=8665.182
try this if u want to (make a backup of original extrude)
i have my extrude on 'e'
e + d - direction (modified so will take only direction - without distance - distance is set on pointclick)
From: James (JFH)
19 Aug 2020   [#8] In reply to [#6]
Michael,

RE: 5 : Bool "Cap ends" - True = cap ends, false = leave ends open.

Is there a scripting method to extend cap end options to include single end only.

When extruding closed curves or multiple surfaces, it is commonly desirable that only the projected end be capped, and the base surface be removed.

Forgive me if this question has arisen before. I have done cursory search of the forum before, but was prompted by your recent post.

James
https://www.instagram.com/nodeology/
From: Michael Gibson
19 Aug 2020   [#9] In reply to [#8]
Hi James,

re:
> Is there a scripting method to extend cap end options to include single end only.

There isn't one directly built into the extrude factory itself but it's possible to make that by extruding with no caps, then using PlanarSrf to build a single cap, transform it by moving it in the extrude direction, then joining the cap with the extrusion.

- Michael
From: James (JFH)
19 Aug 2020   [#10] In reply to [#9]
Thanks Michael,

"extruding with no caps, then using PlanarSrf to build a single cap, transform it by moving it in the extrude direction, then joining the cap with the extrusion."

I am familiar with this approach, although the method of extruding with caps on, then selecting & deleting the base face is a generally less awkward.

It is surprising to me that this feature request is not more common, even if the work around is pretty straightforward.

Thanks again,
James
https://www.instagram.com/nodeology/

Show messages: All  1-5  6-10