Jump to content

KingChaos

Member
  • Posts

    306
  • Joined

  • Last visited

Reputation

7 Neutral

2 Followers

Personal Information

  • Location
    Germany

Recent Profile Visitors

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

  1. 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
  2. @ domc kannst Du da bitte kurz helfen? Das vorerst letzte PUzzleteil 🙂 bei etwas ganz Grossem
  3. 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
  4. bei mir stuerzt es oft ab, und eine Fehlermeldung sehe ich nicht.
  5. afaik you can save your settings of the object node as e new style, but i thikn it wont help u ^^
  6. 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
  7. 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.
  8. 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
  9. 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
  10. now i translate it into german ^^
  11. 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? ^^
  12. 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 🙂
  13. 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
  14. 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
×
×
  • Create New...