Jump to content

Aneesh Carvalho

Member
  • Posts

    27
  • Joined

  • Last visited

Reputation

2 Neutral

1 Follower

Personal Information

  • Occupation
    Architect - Bright Architecture
  • Homepage
    www.brightarchitecture.com
  • Location
    United States

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Antonio, Thanks for giving it a shot. Do you think there is a data flow issue, as it passes through the second "valve" condition node? Once, I connect the solid boolean to the copy node and run in debug mode, data doesn't flow through the second valve node.
  2. Hi All, I'm not able to understand what exactly is happening here. When I connect the output of the solid Boolean to another operation like the copy node or rotate node, the object does not get created. However, when it's not connected to any other operation, it works as expected. Cabinetry - 2 Drawer Solid boolean error.vwx
  3. Thank You @DomC This is exactly what I was looking for. Cheers for all your help.
  4. Hi @DomC Thank You for your response. I did include the Listabsorb() into the code however, it asks the user to input "n" number of items but returns only one item in the list, when it should return "n" number of items and ask the user to select the item from the list "n" number of times. For example, when running the script, the user is prompted "Enter the number of units". If the user enters 4, then the dropdown popup dialog should run 4 times so the user can select 4 of the 3 currently available options from the menu and return a list of all 4 items. However, currently, it only prompts the user once and return just one item. Thank You
  5. I tried editing the script to get the node to accept a list and it kinda works the way I'd like it to work however, the first item in the List of choices get's exploded into a list of letter. Below if the code for the node: #Created April 2017 @Marionette.NodeDefinition class Params(metaclass = Marionette.OrderedClass): #APPEARANCE #Name this = Marionette.Node( "Selection Dialog" ) this.SetDescription( 'String Dialog, displays a dialog box which ' + 'requests the user to enter a string value.' ) #Input Ports dListItems = Marionette.PortIn ( [], 'Choices') dListItems.SetDescription('Default value for input field') int = Marionette.PortIn(0, 'iDefault') int.SetDescription('Default value for input field') #OIP Controls Title = Marionette.OIPControl( 'Dialog Title', Marionette.WidgetType.Text, 'Dialog') Title.SetDescription('The name of the popup dialog -- it should advise the user as to the choice.') OK_s = Marionette.OIPControl( 'OK string', Marionette.WidgetType.Text, 'OK') OK_s.SetDescription('Localized label for the OK button.') Cancel_s = Marionette.OIPControl( 'Cancel string', Marionette.WidgetType.Text, 'Cancel') Cancel_s.SetDescription('Localized label for the Cancel button.') #Output Ports s_choice = Marionette.PortOut('sChoice') s_choice.SetDescription( "The string of the chosen item. If the dialog was canceled, this will be None." ) #BEHAVIOR #this.SetListAbsorb() def RunNode(self): #inputs dlogName = self.Params.Title.value dlogOK = self.Params.OK_s.value dlogCancel = self.Params.Cancel_s.value dlogList = self.Params.dListItems.value global result_i global result_s dialog = 0 debug = False #script def CreateDialog(): dlogID = vs.CreateLayout(dlogName, False, dlogOK, dlogCancel) vs.CreatePullDownMenu(dlogID, 4, 24) vs.SetFirstLayoutItem(dlogID, 4) return dlogID def Dialog_handler(item, data): global result_i global result_s if (item == 12255): #AKA SetupDialogC for x in range (0, len(dlogList)): vs.AddChoice(dialog, 4, dlogList[x], x ) elif (item == 1): (result_i, result_s) = vs.GetSelectedChoiceInfo(dialog, 4, 0) if debug: vs.AlrtDialog("result_s is ", result_s) vs.AlrtDialog("result_i is ", result_i) dialog = CreateDialog() dlog_result = False if vs.RunLayoutDialog(dialog, Dialog_handler) == 1: dlog_result = True elif vs.RunLayoutDialog(dialog, Dialog_handler) != 1: result_s = None result_i = None #outputs self.Params.s_choice.value = result_s Cabinetry Tool v2.vwx
  6. Hi All, I'm still struggling at getting the popup dialog to prompt the user 'n' number of times to get a list of items. Any help would be greatly appreciated. Thank You
  7. Hello, I'm trying to create a script for building kitchen cabinetry using pre-built "sections" as symbols. I'm trying to prompt the user to enter the number of sections and then select the section from a drop-down list using the popup dialog. I'm not sure how to use the series node to make this work for me though. For example, if the user enters "3" when prompted to enter number of sections, they should be able to select the 3 different sections from a list (popup dialog) Appreciate your help. Thank You Cabinetry Tool.vwx
  8. Thank You @Marissa Farrell! This was really helpful. Is there a node out there that helps extrude a profile about a path at a specific reference point? It seems that by default, the profiles get extruded along a path from it's center only. Thank You!
  9. I see. That option - I have not tried, yet..... but I will give it a go now. Thank You
  10. Hi Marissa, Yes I have, however, I am not able to rotate the rectangle geometry to use as a path. Rotating 2D objects have been even harder for me as they never seem to work for anything I've been trying to build. So that's why, I've been creating 3D objects and then rotating them along the x-axis.
  11. Hi All, I'm trying to create the different types of wainscot panels with parametrically controlled dimensions. I extruded a mold profile using the extrude along path node. However it does not rotate once it's created? Is there an alternate way to doing this? Definitely appreciating all the help I'm getting here Thank You Path Extrude Not Rotating.vwx
  12. Thank You @Antonio Landsberger That is what I'm looking for. @Pat Stanford I will be placing a manual with the script file that will hopefully warn my colleagues about not "fooling around" with the script 🙂
  13. Hi, Is there a way to extract the individual segments from a polyline in Marionette so that it has an output as a list of lines/segments?
  14. Hi. Is it possible to create a custom dialog box in marionette that prompts a user for input? I’m working on a script for a custom wardrobe. I’d like the user to be asked the question “Enter the number of sections” if the user enters 4, it should then prompt the user for dimensions of each of the 4 sections. if the user enter 3, it should prompt the user for dimensions of only 3 sections. is this possible in marionette? thank you
  15. Hi. I'm trying to convert this polyline into a closed polygon. However, it doesn't seem to work. I tried using the convert to polygon node but it doesn't work. Grab Bar - Backup.vwx
×
×
  • Create New...