Jump to content
Developer Wiki and Function Reference Links ×

Marionette and material takeoffs


AlanW

Recommended Posts

Light bulb moment! Woke up and this. You can even get material takeoffs even if you don't build it with marionette. You use Objects by criteria.

I love Marionette.

This is rough but shows the power of Marionette.The spreadsheet wont auto update  after you change but am sure we can sort this out.

There is also the obvious issue about orientation of reading data from object but sure its not insurmountable.

You can name all your object parts and the name can be pulled out to align with the takeoff.

Will play more to try to build a workable solution.

Capture.JPG

001.JPG

MT_170721_6.35.vwx

Edited by Alan Woodwell
  • Like 1
Link to comment

Be very careful with the Width/Length/Height functions in the worksheet. They respond to the 2D projections of the object, not the actual object size.  So if you have an extruded rectangle with the sides parallel to the X and Y and extruded in the Z direction you are fine. If you Rotate that object, you will end up with the dimensions of the bounding box (maximum-minimum dimensions) instead of the actual object dimensions.

 

The idea of using a marionette object that stores the X/Y/Z dimensions in a record.field format that can be accessed from the worksheet is actually probably the best option.

 

Even in Vectorscript it is difficult to get the dimensions of a random 3D object. Using Marionette to create plywood "pieces" will likely give you more ability to get the proper sizes than manually creating the object and then trying to access the dimensions.

 

 

Link to comment

@Pat StanfordYes this will be the issue with W/L/H functions being based off the working plane and orientation. So this is a little challenge to set up an if/then etc maybe??? that will find the 3D properties and it may not be the W/L/H function but may be another. There are a few nodes to choose from and thinking if none available then create a node that will search for the correct orientation and return the 3D parameters.

Thats the fun thing here, there is a idea and now to solve the challenge. Thanks for the warning and welcome all your comments as you have a wonderful grasp of VS and logic. and greatly value any comments good or bad. Only way to learn.

Thanks.

Link to comment
8 hours ago, Alan Woodwell said:

@Pat StanfordYes this will be the issue with W/L/H functions being based off the working plane and orientation. So this is a little challenge to set up an if/then etc maybe??? that will find the 3D properties and it may not be the W/L/H function but may be another. There are a few nodes to choose from and thinking if none available then create a node that will search for the correct orientation and return the 3D parameters.

 

It will be easier to collect the required information from a Marionette object than from a generic solid. You can draw the MO in line with the axes and then rotate as needed. With a generic object I don't know of a scripting way to "unrotate" an object that you don't have previous knowledge of to determine what it is. This is especially true of an object that could have been rotated in multiple planes. Think of a diagonal brace. While it could be made from the same sheet goods as the rest of a cabinet, it could be parallel to the back, parallel to the side, or have a funky diamond shape and not be parallel to any axis. Since Marionette has to have the data to draw it in the first place, you will have better luck getting that data out. If this were a generic solid (or even an addtion/subtraction etc.), trying to figure out how it is configured/constructed to generate a BOM is nearly impossible. More information is required.

 

BOM for IKEA type objects is probably reasonable. Cut List may even be possible. 

 

BOM for a bent wood Cafe or Windsor chair (built from groups/symbols) is possible. Cut list for all of the manually modeled pieces will be next to impossible to script.

 

I like the idea of the project, but it has to have limits. Don't burn out trying to force things that are too difficult for the benefit.

Link to comment

@line-weightHi the criteria is preset in the VW program so would use these. 

http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix

@Pat StanfordHi thanks for commenting. Won't burn myself out, if I can't get it I let my subconscious do the work. Will have to think harder, as for diagonal bracing would test out using the axis as this would probably be the cross section. Maybe the solution lies in setting some parameters for drawing object first. Who knows, all part of the fun. Maybe I am dreaming, but I like dreaming. Someone way back when dreamed about flying.

Edited by Alan Woodwell
Link to comment

Thanks Pat

I've been using extract surfaces for simple solids

It seems to be reliable enough and has other benefits relating to boundary conditions 

OT importing BIM objects is proving to be rubbish 

Edited by BCE
Link to comment
13 hours ago, Alan Woodwell said:

@line-weightHi the criteria is preset in the VW program so would use these. 

http://developer.vectorworks.net/index.php/VS:Function_Reference_Appendix@Pat Stanford

 

I don't follow.... what is preset to what?

 

I get that there are lots of criteria to choose from - was just wondering if you'd thought of ones that would be useful to use in this application.

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...