Jump to content

KingChaos

Member
  • Posts

    303
  • Joined

  • Last visited

Everything posted by KingChaos

  1. bei mir stuerzt es oft ab, und eine Fehlermeldung sehe ich nicht.
  2. afaik you can save your settings of the object node as e new style, but i thikn it wont help u ^^
  3. i am totally spoiled of TopSolids automatic constraining EVERYTHING u draw/sketch. But now i got some issues here, to make it on a polygon. I have this polygon. and i need to fix its starting point in X-Y and then have constraints (length constraints) for each segment. i will need some measures on a specific class, which i have to activate/visible whhen i need to change the polygon. this polygon is a control geometry of a complex marionette. Constraining this 2D Polygon makes me a white wizzard in placing 3D Cabinets and modify they sizes/orientation with this constraints. The manual modification of this polygon () is horror in VWX, because u cant see what is an endpoint of a segment (they got the f*** same color) u cant see what is middle point or end point. so if i can place some constraints of the segments, this problem is obsolet. I want to change the dimensions of the constraints by clicking the measure and entering a new length of a segment, but the polygons start has to be fix, only the endpoint and all following segment must follow the change of a pre sketched segment. Check this vid to see what i need 🙂 2024-08-20 08-14-43.mp4 is there any way to get to something like that? BR KC
  4. for non programmers like me, its the only way to get stuff what isnt there. 😞 therefor i asked for a ai based shrinker for my wrappercode.
  5. so i am searching for a way to make the hole network wrappen "clean" of useless spagetthi lines" i have 0 capacity for learning VS or python, i stopped programming after gw basic in 1992
  6. to use the marionettes in XG Cabinets they have to be as slim as possible, else VWX will take minutes to run them, fe if i have 6-20 of this marionettes in one XG Cabinet
  7. now i translate it into german ^^
  8. Hi there, can someone (or maybe a trained AI)?? help to reduce the spagetthicode of the marionettewrappers i made into clean slim code? Is there any converter finds out what is not needed and reduce the code to make the stuff faster? BR KC @Jodaku need this too, right? ^^
  9. is there any AI help for making those codes of all the node of f.e. a wrapper to one code without spagethicode? i think u know what i mean. i have dozents of marionettes which i have to fasten up, but i cant code by my self 🙂
  10. this told me CHATgpt @Marionette.NodeDefinition class Params(metaclass=Marionette.OrderedClass): # APPEARANCE # Name this = Marionette.Node('Delete') this.SetDescription( 'Deletes an object if the condition is met.\nNote: Objects to be deleted are saved in a list and are deleted at the end of the network execution. So, there is no risk of referencing an object that no longer exists' ) # Input Ports obj = Marionette.PortIn(vs.Handle(0), 'hObj') obj.SetDescription('The object to delete') delete_flag = Marionette.PortIn(False, 'DeleteFlag') delete_flag.SetDescription('Boolean flag to decide whether to delete the object or not') # OIP Controls # Output Ports # BEHAVIOR def RunNode(self): # inputs obj = self.Params.obj.value delete_flag = self.Params.delete_flag.value # script if delete_flag: vs.Marionette_DisposeObj(obj) # outputs
  11. hi there, chatGPT is not able to give me (not a programmer) a working code of the delete node, with an additional boolean input that decides wether to delete or not. is that possible in general or does this somehow not work in this way? BR KC
  12. Hi, i made some kind of rastered dowels for my cabinets, because the cabinetcreator of IC does not allow applying dowels in backplates. So i made this small marionette to have a red symbol which can be placed as a "box object" in the cabinets which is adoptable to the cabinet measures. network run - works wrapping - works object node - works symbol of "object node" - VWX CRASH does someone knows, whats wrong with my network? BR KC Duebelmarionette als Boxobjekt forum.vwx
  13. if i make an object node from the wrapper which contains "symbol from foldwer" and a symbol out of it, it may crash vwx?
  14. i want to make an object node, which places red symbols like this behind each segment of a named polygon. i need to put the segments length into the red symbols. with xg cabinets its working very good, except some unwanted behavior. Therefore i read out the "record" of the red symbols and found but it seems, that there are no fields with the data i need. So i need to remake the red symbol to make it be dynamic with a database? The red symbol is not that easy. You saw it before. But i dont know how to make the symbol react like now AND having a record with all the oip inputs.
  15. now its working, only few wires new connected and modified. the only stuff is not working is the fact, that a named popup node dont show in the pio. i think because i added in input port to this popstring to make a popup node which selects one of the named polygons in my file. Maybe someone knows, how to avoid this. pollygonselector.vwx
  16. all i wanna do is placing object nodes and modify the oip values, but this is generally not possible?
  17. but this pass node i cant deactivate by condition?
  18. i think best would be, i get a really good tutorial for "making nodes". sry for my lack of everything ^^
  19. i needed the name of the field, because it seems not to be the name i called the input node which is in the oip. is there any different way, to manipulate the OIP parameters of marionettes placed red symbols? i thought they were record based, maybe this is not the right way to do it. symbole am strang V2.vwx
  20. ah ok, i made it with chatGPT. @Marionette.NodeDefinition class Params(metaclass = Marionette.OrderedClass): #APPEARANCE #Name this = Marionette.Node( "Get Record Name" ) this.SetDescription( 'Returns the value of a data record field. If the data record does not exist or is not attached, it returns false' ) #Input Ports inObj = Marionette.PortIn( vs.Handle(0), 'hObj' ) inObj.SetDescription( "The input object" ) #OIP Controls #Output Ports obj = Marionette.PortOut('hObj') obj.SetDescription( "The original object" ) recName = Marionette.PortOut('sRecName') recName.SetDescription("The name of the attached record") #BEHAVIOR def RunNode(self): # functions def getRecName(objHan): # This function returns the name of the first record attached to ObjHan, else an empty string totalRecCount = vs.NumRecords(objHan) if totalRecCount > 0: locRecHan = vs.GetRecord(objHan, 1) locRecName = vs.GetName(locRecHan) return locRecName return '' # inputs inObj = self.Params.inObj.value # script recName = getRecName(inObj) # outputs self.Params.recName.value = recName self.Params.obj.value = inObj it returns 1 record name. i failed to add an output with a list of the field names of this record. Then i tried to list all attached records, but that does not work too. 😞
  21. hi, how i can call the record name of a red symbol, placed with a marionett network. i need to place red symbols and put some parameters into them. Which nodes i have to use for this? BR KC
  22. Yes sry it sounds strange, they have to be dynamically on/off with condition fE. if i have a 1. selection what makes selection 2 invalide fE.
×
×
  • Create New...