Extrude Function request

Next
 From:  Frenchy Pilou (PILOU)
9919.1 
Does it possible to have the last Extrude function method memorized for repeat it ?

(so Set Dir, Set Path, To Point or Tappered)

Useful when you use for example "Set Dir" with stakhanovism! :)

Seems Normal by Default when you recall the function...




  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9919.2 In reply to 9919.1 
Hi Pilou,

> Does it possible to have the last Extrude function method memorized for repeat it ?
>
> (so Set Dir, Set Path, To Point or Tappered)

Sorry, no it would not work to do that with the current design of the Extrude command.

Currently the way it works is when you start up you are in the "extrude straight to point or distance" mode. When you push "Set Path", that switches to a different mode but there isn't any way currently to go back to the starting mode.

So if it just jumped directly to "Set Path" mode because you used that last time, that would then effectively disable "extrude straight to point or distance" mode for the rest of that modeling session.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9919.3 In reply to 9919.1 
But one thing that may be useful for you if you're using a particular mode a lot is to set up a shortcut key that will trigger that mode automatically.

You can do that by giving a parameter to the extrude command, put one of these on the shortcut key:

extrude topoint

extrude tapered

extrude setpath

extrude setdirection

Any one of those will start up the extrude command and then be the same as pushing one of the buttons.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9919.4 In reply to 9919.3 
Shortcut Extrude SetDirection is perfect!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
9919.5 In reply to 9919.3 
Hi Michael,
I'd like to have those extrude with params in a js file....

Is there something more to make those work from a js file call?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9919.6 In reply to 9919.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Cemortan_Tudor
9919.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)
- Tudor -
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
9919.8 In reply to 9919.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/

EDITED: 19 Aug 2020 by JFH

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9919.9 In reply to 9919.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  James (JFH)
9919.10 In reply to 9919.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/

EDITED: 20 Aug 2020 by JFH

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All