KingChaos
Member-
Posts
306 -
Joined
-
Last visited
-
Thanks a lot, yeah it works, but i see, that my marionette is not composing the lines i made if it is an object node. i used the node without duplicate and its working. the networks works fine, the wrapper too, but in object node (thats what i need) its not composing the lines. The problem is, if i change some of the segments length of my marionette, it wont modify the existing polygon, it creates a new one. so i need to find the named polygon with the node, then rename it to a temp-name, and delete it? If i object the node i can rotate the objectnode and i can change all lengths but the result is not a composed polygon as i need it. maybe someone can explaine, whats so different in object nodes and wrappers, or how i have to make it to make it work well. BR KC 9 segmentiges POlygon fuer Strangmoebel V8.vwx
-
@ domc kannst Du da bitte kurz helfen? Das vorerst letzte PUzzleteil 🙂 bei etwas ganz Grossem
-
hey, i tried to modify the "name node", in the following way with chatgpt: remove the oip.control widget add in string input "sName" which will be the name of the object to get. this is not working, because i cant do this by my own. #Revised by MFarrell on 02/05/16 #Edited by KingChaos with ChatGPT 10/14/24 #Modified April 2017 @Marionette.NodeDefinition class Params(metaclass=Marionette.OrderedClass): # APPEARANCE this = Marionette.Node('Name') this.SetDescription('Get a named object in the drawing') # Input Port sName = Marionette.PortIn('Input Value') sName.SetDescription('name of the object to get') # Output Ports obj = Marionette.PortOut('h') obj.SetDescription('The object with the specified name') # BEHAVIOR this.SetLinksObjects() def RunNode(self): # inputs obj = vs.GetObject(self.Params.sName.value) sName = self.Params.sName.value # Get the input value # outputs self.Params.obj.value = obj self.Params.outputValue.value = sName # Pass the input value to the output can someone help me make this node working? Or has someone a different node, which gets an named object if it exists? poly delete name.vwx
-
vwx crashs after symbol out of object node from a wrapper?
KingChaos replied to KingChaos's topic in Marionette
bei mir stuerzt es oft ab, und eine Fehlermeldung sehe ich nicht. -
vwx crashs after symbol out of object node from a wrapper?
KingChaos replied to KingChaos's topic in Marionette
ok also was is das fuern fehler? -
afaik you can save your settings of the object node as e new style, but i thikn it wont help u ^^
-
Associative Dimensions and Parallel Constraints
KingChaos replied to rudybeuc@gmail.com's topic in General Discussion
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- 10 replies
-
- associative
- associative dimentions
-
(and 1 more)
Tagged with:
-
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.
-
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
-
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
-
now i translate it into german ^^
-
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 🙂
-
delete node with bool check wether delete or not?
KingChaos replied to KingChaos's topic in Marionette
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 -
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