Jump to content

A way to make a variable Extrude - ¿ Use a PIO ?


Recommended Posts

A way to make a variable Extrude - ¿ Use a PIO ?

 

 

Intent is to have a series of pre drawn 2D shapes that equate to various in stock aluminum extrusions.

 

Symbols would be created with one of the pre drawn 2D shapes Extruded, or Extrude along path.

 

When needed, it would be great if there was a way to select a different one of the pre drawn 2D shapes and have the end result show a revised Symbol, without the need to Edit the Symbol, and edit the extrude inside.

 

We already realize that the pre drawn 2D shapes can not be Symbols, as one is NOT able to extrude a symbol.

 

Suggestions ?

 

Peter 

Link to comment

Yes, make a Group (blue) Symbol. Create a Symbol from a drawn shape and in the Symbol options, check Convert to Group. As long as the shape is one object it will be added to the design layer as a single shape object and not inside a group or a symbol.

 

I use this workflow all the time when creating multiple extrude along path objects of the same profile.

Edited by markdd
Link to comment
51 minutes ago, Elite Exhibits said:

A way to make a variable Extrude - ¿ Use a PIO ?

 

 

Intent is to have a series of pre drawn 2D shapes that equate to various in stock aluminum extrusions.

 

Symbols would be created with one of the pre drawn 2D shapes Extruded, or Extrude along path.

 

When needed, it would be great if there was a way to select a different one of the pre drawn 2D shapes and have the end result show a revised Symbol, without the need to Edit the Symbol, and edit the extrude inside.

 

We already realize that the pre drawn 2D shapes can not be Symbols, as one is NOT able to extrude a symbol.

 

Suggestions ?

 

Peter 

 

I may be misunderstanding what you're asking but have you looked at the Framing Member tool using Custom Profiles? Straight Extrudes only though, not EAPs.

Link to comment

You are right. What about attaching a record to the shape inside the symbol? Or even the symbol in the resource manager? I think the shape might take on the record when it is ungrouped. Certainly worth a try. 
 

I have never tried this but if the shape is used as a profile within an extrude along path, then does the profile still carry the record. If it does then you will be able to count the record in a worksheet.

 

edit: just tried this and based on your question, this will work. The profile shapes of Extrude along path objects will retain record data. Therefore you will be able to process the data as you describe. Just make sure that you are looking inside plugins when you define the search criteria.

Edited by markdd
Link to comment
13 hours ago, Elite Exhibits said:

A way to make a variable Extrude - ¿ Use a PIO ?

 

 

Intent is to have a series of pre drawn 2D shapes that equate to various in stock aluminum extrusions.

 

Symbols would be created with one of the pre drawn 2D shapes Extruded, or Extrude along path.

 

When needed, it would be great if there was a way to select a different one of the pre drawn 2D shapes and have the end result show a revised Symbol, without the need to Edit the Symbol, and edit the extrude inside.

 

We already realize that the pre drawn 2D shapes can not be Symbols, as one is NOT able to extrude a symbol.

 

Suggestions ?

 

Peter 

I think it's possible.

 

The attached plug in will create an extrude of a parametric length.  It will use the geometry in the symbol named in the OIP as the profile.

This is just a proof of concept.  No error checking.   If the symbol is hybrid or 3D it probably fails.

 

I think the EAP version could also be made to work.  But not tonight :-).

 

Extrude Test.vso.zip

  • Like 2
Link to comment
39 minutes ago, michaelk said:

I think it's possible.

 

The attached plug in will create an extrude of a parametric length.  It will use the geometry in the symbol named in the OIP as the profile.

This is just a proof of concept.  No error checking.   If the symbol is hybrid or 3D it probably fails.

 

I think the EAP version could also be made to work.  But not tonight :-).

 

Extrude Test.vso.zip 3.77 kB · 0 downloads

 

Very nice! But what is benefit over Framing Member...?

Link to comment

@michaelk This is what the doctor ordered ... Much appreciated ! (See attached)

 

@Tom W. Please and Thank You - clue me in if this is what the Framing Member tool already does. 

 

 

Attached Example:  Aluminum extruded frame components exists for graphic projects in Single and Double Face profiles. These typical 2D Symbols are show in opposite corners. (Green and Blue for clarification) - In the center is a Persp View of an Extrude Test Object. The Extrude Test.vso Plug In (above) allows the VW extrusion to be designed, (based on a 2D Symbol) and then the extrude / profile can be changed when needed, by selecting a different 2D VW Symbol from the OIP. Very Slick! 

 

Symbol naming Convention speeds the process - original location of the 2D Symbol, determines placement in the extrude, and therefore where a different 2D Symbol is located, if the intent (as demonstrated) is to have them swap out as though the design started from scratch. 

 

Thank You Again !

 

Peter

  • Like 1
Link to comment
3 hours ago, Elite Exhibits said:

@Tom W. Please and Thank You - clue me in if this is what the Framing Member tool already does. 

 

Yes Framing Member is similar except it creates hybrid object with Top/Plan representation plus you can control length, pitch, roll angle, beginning + end mitres + bevels, etc parametrically in OIP. Plus as @line-weight says the Structural Member tool does more or less the same thing too, with even more settings... The advantage of Structural Members is they can be stood up vertically whereas Framing Members can't... In both cases you can save the profile symbols in the appropriate user folders for access from any file whenever you use the tool. You don't need to remember the symbol name, you choose the symbol from the Resource Selector.

Link to comment
2 hours ago, line-weight said:

If we could have something similar for extrude along path, that would be rather handy...

 

I'm sure it's possible.  It was late at night when I did the extrude plug-in and I tried to do a EAP plug-in as well.  I got caught up trying to allow it to be non-planar.  If you force the EAP to be on some plane I think even my scripting skills are adequate.  

 

It would be cool if:

  1. The plug in was smart enough to ignore any 3D geometry
  2. The plug in was smart enough to allow more than one shape in the profile symbol
  3. The plug in allowed multiple symbols in each extrude/EAP.

 

Link to comment

@Tom W.

 

The Structural Tool appears to be a good built in solution.

 

Ironically, I would never have thought it was an option. Even after reading and re reading the VW Help file. That Custom  option (as is typical of late with VW... ) is nicely hidden away.  

 

Thanks again 

 

Peter 

 

 

Still waiting to see what EAP magic @michaelk concocts in the late night lab ...

Link to comment
10 minutes ago, line-weight said:

One of the frustrations of EAP is that you can't use it to extrude several profiles along the same path, without making duplicate EAPs. And then if you want to change the path...you have change it in each one.

 

But if an EAP could use a symbol for the path...

 

I think I understand what you mean but could you give an example?

Link to comment
14 hours ago, Tom W. said:

 

I think I understand what you mean but could you give an example?

 

For example... say I want to make a representation of a particular window frame. I make the path a simple rectangle, and the profile the cross section of the window frame. This is a quick way to make a rectangular window frame with a custom profile. And if i want to then make another window, same frame profile but different size/shape, then all I need to do is make a copy and edit the path to the desired size/shape.

 

But... what if I want to make a simple casement window. There is an outer fixed frame and the inner frame that makes the opening casement and holds the glazing. It would be nice if I could simply use an EAP again, with the two frame sections in the EAP "profile" but this is not allowed - I'm only allowed one object in there. So I'm forced to do this with two EAPs, one for outer frame and one for inner frame. And if I want to make a version of this window that's a different size/shape then I have to go into each EAP and adjust the path in each individually.

 

If the EAPs could use a symbol for the path, then I could have my two EAPs, both using that same symbol as the path, and I could simply edit the path to a different size/shape and the two EAPs would update in sync with each other. Obviously the more complex the assembly, say you want more than two extruded profiles following the same path, the more benefit of being able to do this.

Link to comment
2 hours ago, line-weight said:

It would be nice if I could simply use an EAP again, with the two frame sections in the EAP "profile" but this is not allowed - I'm only allowed one object in there. So I'm forced to do this with two EAPs, one for outer frame and one for inner frame.

 

You can do this already can't you?

 

This is 9 separate polylines:

Screenshot2023-08-18at13_44_31.thumb.png.3e7cc5c66143f119f752e341a0105742.png

 

Resultant EAP:

Screenshot2023-08-18at13_44_18.png.92612662223ed0f3c4ec68ac5bfa719f.png

 

Path resized:

Screenshot2023-08-18at13_48_27.thumb.png.096ef03e42c149b812e97f08feac90dd.png

 

Probably not the greatest choice of profile as VW is struggling with all the vertices but it was what I had to hand...

  • Like 1
Link to comment
29 minutes ago, Tom W. said:

 

You can do this already can't you?

 

This is 9 separate polylines:

Screenshot2023-08-18at13_44_31.thumb.png.3e7cc5c66143f119f752e341a0105742.png

 

Resultant EAP:

Screenshot2023-08-18at13_44_18.png.92612662223ed0f3c4ec68ac5bfa719f.png

 

Path resized:

Screenshot2023-08-18at13_48_27.thumb.png.096ef03e42c149b812e97f08feac90dd.png

 

Probably not the greatest choice of profile as VW is struggling with all the vertices but it was what I had to hand...

 

Hrm - I think this is my memory being unreliable.

 

Is it in fact that the issue is that those polygons can't each be in a different class, or have a different textures applied? So therefore if you want to make a window frame with different finishes inside & out, this is when you need to make separate EAPs?

 

If I'm right about that then in your example above, the thermal break portions of the window frame can't be rendered in a different colour/texture from the metal bits.

 

Other examples would be where I want to make a wall-coping assembly that involves a couple of different components in different materials, say something like this:

 

Screenshot2023-08-18at14_32_29.jpg.6e49101fe73196b336cca0701664b20e.jpg

 

in principle the EAP tool might seem quick way of applying this all the way along a parapet top but not if the concrete coping, the copper pieces, the grout, the timber fillet all have to be rendered the same. That would apply in section too.

Link to comment
11 minutes ago, line-weight said:

Is it in fact that the issue is that those polygons can't each be in a different class, or have a different textures applied? So therefore if you want to make a window frame with different finishes inside & out, this is when you need to make separate EAPs?

 

If I'm right about that then in your example above, the thermal break portions of the window frame can't be rendered in a different colour/texture from the metal bits.

 

Yes this is correct + I did wonder if this was kind of what you were getting at in your original posts. The final EAP is a single object which can only be in one class + have one set of attributes. So you'd have to duplicate the EAP + break it up into separate objects in order to class/render them separately which takes us back to your original point.

 

I am sure @michaelk is taking all this in + applying it to his programming... 🙂 It would certainly make for a very useful tool if you could generate several different EAPs from a single path + be able to edit that path + all the EAPs respond accordingly. Or go in + edit/replace individual profiles.

  • Like 1
Link to comment

Thanks Michael what is the best way to set up the alignment of the symbols relative to the path? I think the symbol geometry is centred on the path regardless of the symbol insertion point: is that correct? I have tired moving the 2D geometry around inside the symbol but it doesn't seem to affect the alignment of the geometry in the EAP. I can Cmd-[ the EAP + it gives me an option to edit the profile but there is no geometry inside the edit group...

 

On the left is the arrangement I'm trying to achieve + on the right is what I'm getting in the EAP:

Screenshot2023-08-19at09_21_10.thumb.png.9c7e891ce939793a1db4f03975d74568.png

 

Screenshot2023-08-19at09_21_26.thumb.png.572102b6ff9ef9b97787f7c8ab7b8ed2.png

 

Does it make any difference which order you arrange the symbols in the OIP?

 

Also, is there a way to texture the 3D geometry differently? I have the 2D symbols in different classes but those classes aren't transferred to the 3D geometry: the resultant EAP is a single object rather than three separate objects in a Group.

 

Thanks for experimenting with this + sharing it with us!

 

Link to comment

@Tom W. It's working for me with simple shapes.  I'm able to offset them from the origin.

 

Can you send me a file with the shapes you are using?

 

Editing the profile or path part of the Plug-In object seems like it should work.  It's right there in the name!!!

 

Use the Reshape Tool for the path.  Only the symbol can work for the profile.

 

It makes no difference which order you enter the symbols.  You can even leave the first two blank.

 

Texture may be possible by class…

Link to comment
3 hours ago, michaelk said:

@Tom W. It's working for me with simple shapes.  I'm able to offset them from the origin.

 

Can you send me a file with the shapes you are using?

 

Hi Michael see attached. In the EAP the profiles are aligned correctly on the X axis but are compressed on the Y axis. I tried increasing the Y offset in the symbols to see if I could get the profiles to line up correctly but it had no effect. But it's possible I'm missing something really obvious

 

3 hours ago, michaelk said:

Texture may be possible by class…

 

Both the symbols themselves + the geometry inside them are classed but the resultant EAP ignores the classes + the class attributes...

 

MK Extrude Test-2.vwx

Link to comment

I see what's going on.  This tool isn't smart enough (yet) to analyze the contents of the profile symbols.  It just takes the first object in the symbol.  

 

To use the tool in its present, primitive form just have one object per symbol.

 

When I said it may be possible to texture by class I meant it was possible to write the tool to do it.

 

And now it does!

 

The tool uses up to 10 symbols and has a class option for each symbol.

 

Some day I might make this prettier and more efficient.  

EAP Beta 2.vso MK Extrude Test-3.vwx

  • Like 1
  • Love 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...