Jump to content

Onink

Member
  • Posts

    80
  • Joined

  • Last visited

Posts posted by Onink

  1. I've got some marionette objects that use data from a record.
    Once I've filled the record I'd like to use a short cut key to update the object I've selected instead of clicking the button.

     

    I can't select a shortcut for this function in the workspace settings. Or am I missing something?

  2. It works for me.
    I also made a forward node by changing the script a little:

     

    #MRoth
    #V1.0 20200413

    @Marionette.NodeDefinition
    class Params(metaclass = Marionette.OrderedClass):
    #APPEARANCE
        #Name
        this = Marionette.Node( 'Forward' )
        this.SetDescription( 'Send an object to the front of the object stacking order.' )
        
        #Input Ports
        InObj = Marionette.PortIn( vs.Handle(0), 'h')
        InObj.SetDescription( "The object to send to the front." )
        
        #OIP Controls
        
        #Output Ports
        OutObj = Marionette.PortOut('h')   
        OutObj.SetDescription( "The object" )
        
    #BEHAVIOR
        
    def RunNode(self):
        #inputs
        obj = self.Params.InObj.value
        
        #script
        vs.HMoveForward(obj, True) 
        
        #outputs
        self.Params.OutObj.value = obj

  3. I've created a simple script to put selected objects in a specified class.

    But I found out that it does the same for objects that are selected within a group.

    How can I prevent that from happening?

     

    c='Gebouw'
    def DoIt(h):
        vs.SetClass(h, c)
        vs.ResetObject(h)
        return()

    criteria="((SEL=TRUE))"
    vs.ForEachObject(DoIt, criteria)

  4. I would like to split a marionette object into parts after I've got the right measurements.
    When I create an offset poly I would like to decompose this polyline , as with cntrl + U, and have the rest of the marionette working.
    Or create a duplicate of this polyline which can be seperated from the origin marionette.

  5. On 11/13/2021 at 9:31 PM, Onink said:

    So when I change the recordfield type to number, and use 0 or 1, I would expect the outcome would change, but that doesn't work too.
    Perhaps this will work with the math integer node, but I haven't tested this yet.

    I used the math integer node and that works, so I'm good for now.

    But I still would like to know if there's a node that can make the boolean in the record field work with the if node. 

    • Like 1
  6. If you select the 2d symbool 'Dakkapel achterzijde' (Right side) you can select Rolluik as last in the data list.
    This is a boolean. This does not return a 0 or 1, but a true or false.

     

    There is only one record in there.

    14 minutes ago, KingChaos said:

    For me the project is canceled, because i cant manipulate the xg cabinet Name. 

     

    The rest is done, if i can manipulate the cabinets name i am a vwx arcmage and i can clone cabinetstrings with a polyline rdy configured, connected to each Other parametrical, deactivatable and Named with cnc.

    Nice job, it must have given you some headaches to get it fixed.
    Too bad you can't get the XG Cabinet renamed.
     

    If this could be possible it would open up al whole lot of possibilities.

    • Like 1
  7. For me, the 'get record field' node does the trick.

     

    But I have some issues:

    One I fixed: the record fields are strings and you need to convert the string to number with the math integer node.

    Then it works.

     

    Two: when I use a boolean as a recordfield type, the outcome is true or false.

    If I link this to an 'if' node, the outcome doesn't change after the if node.

     

    If I use a boolean node with the if node the output of the boolean is 0 or 1.

    So when I change the recordfield type to number, and use 0 or 1, I would expect the outcome would change, but that doesn't work too.
    Perhaps this will work with the math integer node, but I haven't tested this yet.

     

    How can I use the boolean fieldtype in a record with the if nodes?

     

    Get record field test v2020.vwx

  8. I made a marionette object with rectangles and polylines, nothing too fancy.

    When I adjust the values of my object it moves to an other place in the drawing.


    And after I adjusted the nodes inside the object, the object is not visible.
    But it still is in the info pallet.
    And when I change the values, it pop-ups again.

     

    Is there something I'm missing?

  9. No, I'm not using Interiorcad.
    The cabinet tool I use is for drawing the cabinets in 3D.
    And I wanted to get the name and size of each item to be able to put them in a list per cabinet.
     

    We don't cnc the parts, we saw them by hand/machine.

     

    It would be handy to create a material list per cabinet for the workshop.

     

    I know where you want to go as I know Top Solid Wood.

    But I don't know how to get there.

     

    For those who don't know TSW: in very short:

    You're able to have a specific name for every solid that's been drawn.

    With the tools available you can get cnc parts with all the holes in the right places.

    And every side specified with how it should be finished.
    And this is all adjustable through parameters.

     

    And that's how I came up with the parameters.
     

    • Love 1
×
×
  • Create New...