• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    DesignScript

    Reply
    Member
    Gytaco
    Posts: 5
    Registered: ‎05-14-2011

    Associate Scripts with elements

    161 Views, 2 Replies
    10-15-2012 12:28 AM

    I have some pre-built geometry, is there a plan to be able to get points or data from this geometry??

     

    So by creation of a strong typed object and associate this to a parameter, rather then rebuilding the geometry.

    I'm sure an entity handle or something like that could suffice, then geometry could be tightened up parametrically and reused with placeholder design or something else.

     

    thoughts?

    Please use plain text.
    Active Member
    Posts: 7
    Registered: ‎09-26-2012

    Re: Associate Scripts with elements

    10-16-2012 05:03 PM in reply to: Gytaco

    Hi,

     

    Thanks for your question.

     

    At the moment we have the ability to import data from a CSV file, which could then be used within DesignScript. 

     

    However, better support for import/export of models is one of the areas we're interested in. Beyond placing the imported geometry is there anything else you have in mind that you would like to be able to do with it?

     

    Many thanks,

     

    Luke

     

     

    Please use plain text.
    Member
    Gytaco
    Posts: 5
    Registered: ‎05-14-2011

    Re: Associate Scripts with elements

    10-16-2012 05:19 PM in reply to: luke

    Hi Luke I have looked at the CSV function I actually extracted some points from an AutoCAD table to csv so I could associate the data to as a class in design script which worked fine. Aside from using an existing object for transform options you have mentioned.

     

    My first point would be getting an envelope or building shape from another package (Rhino, Maya, Max). I would like to be able to associate the object as a variable, to be able to extract the information out of that object.

     

    First Priority Say for instance of placing placeholder points on a curved surface that has come in. Being extract data and reuse that information whether to get prints of technical information. - Versines, Tangents etc.... as well as use it to create points or other information from the existing source and then use that data for some other purpose.

     

    Second Priority I don't how this would happen exactly, some sort of existing reverse engineering geometry class that recognises points, lines, solids, surfaces and breaks it all down and allows us to initialise these then manipulate them. but I am sure you tell this object to be recognised as a solid or multiple surfaces it need be and AutoCAD can attempt a conversion, and make a duplicate.

     

    A real simple example would be making a randomised form more rational quickly by adjusting values rather than rebuilding the shape. If a copy of the existing element is made then tweaks can be me and visual comparisons can be done quickly. However this would all have to take place in the back end and not clutter the file with objects similar to the vector class.

     

    Definitely wouldn't be easy reverse engineering, but with some user controls on the methods and constructs of the process I am sure users would be able to do quite a lot. Even a simple extract or all points and surfaces and create a variable for each etc...

    We can use the functions already inplace to build the object back to a solid or surface if required. I could people develop scripts that analyse various rationalisation of the geometry and any number of saved scripts could applied to such forms to extract or use the form as a starting point to build upon.

    Please use plain text.