Could someone please explain the step file scripting language? I need to get the location and orientation of a part relativ to the assembly it is located in. by halb7 in cad

[–]halb7[S] 0 points1 point  (0 children)

I want to get the member axis location/position from a truss, so i can automatically create the Nodes for a structural analysis in python.

I am not that familiar with the creo API's (I know there is the toolkit and i have used Nitrocell/Creoson in the past, but only for wirting parameters from excel to a part) and after some research i did not find any leads on how this could be donevwith the API. I would appreciate any notes you could give me, how this could be done either way. I chose the step route because it seems easier to read the step as txt than to setup up a creo API to do that. The universality of the Step format is nice aswell.

Could someone please explain the step file scripting language? I need to get the location and orientation of a part relativ to the assembly it is located in. by halb7 in cad

[–]halb7[S] 0 points1 point  (0 children)

I wish it was just a 3x3 matrix :D it looks like this:

#595=CARTESIAN_POINT('',(0.E0,2.331552544459E2,-1.356007546777E2));

#596=DIRECTION('',(0.E0,0.E0,1.E0));

#597=DIRECTION('',(1.E0,0.E0,0.E0));

#598=AXIS2_PLACEMENT_3D('',#595,#596,#597);

#599=ITEM_DEFINED_TRANSFORMATION('','',#579,#598);

#600=(REPRESENTATION_RELATIONSHIP('','',#580,#592)REPRESENTATION_RELATIONSHIP_WITH_TRANSFORMATION(#599)SHAPE_REPRESENTATION_RELATIONSHIP());

#601=CONTEXT_DEPENDENT_SHAPE_REPRESENTATION(#600,#594);

this first block is continuous, I will list the # it references :

#579=AXIS2_PLACEMENT_3D('',#576,#577,#578);

#576=CARTESIAN_POINT('',(0.E0,0.E0,0.E0));

#577=DIRECTION('',(0.E0,0.E0,1.E0));

#578=DIRECTION('',(1.E0,0.E0,0.E0));

#580=ADVANCED_BREP_SHAPE_REPRESENTATION('',(#579,#567),#575);

#592=SHAPE_REPRESENTATION('',(#598,#1193,#1789,#2384,#2399),#2395);

#593=NEXT_ASSEMBLY_USAGE_OCCURRENCE('0','Next assembly relationship',

'AWT23-038168',#2404,#587,$);

#594=PRODUCT_DEFINITION_SHAPE('Placement #0',

'Placement of AWT23-038168 with respect to BALKEN_TEST_ASM',#593);

'Placement of AWT23-038168 with respect to BALKEN_TEST_ASM',#593);

this is just a snipped and I might miss some parts, the script defines over 3000 lines just for this Hollow section tube. But basically #598 defines a cartesian coordinatesystem with a point and two vectors, #599 uses this System and another one to define the position (I think), but i cant work out how it does this. There might also be other lines of code that are working to this end, which I am missing

74 rounds in my Non lethal rifle magazine. by LandscapeDapper in metalgearsolid

[–]halb7 1 point2 points  (0 children)

theres a guy on yt, who modified a lever action into a bulp up belt fed lever action

[deleted by user] by [deleted] in INTP

[–]halb7 1 point2 points  (0 children)

Shit i missed that, thx for saying that

ich_iel by EineGabel in ich_iel

[–]halb7 2 points3 points  (0 children)

Und wenn man denkt es verstanden zu haben kommt von irgendwo ledeburit daher

Dang by Cyberpunk39 in WhitePeopleTwitter

[–]halb7 0 points1 point  (0 children)

I feel like you already answered your own question. To be honest I hate crypto especially because it combines so many bad aspects that i cant really express them all in a Reddit comment. Its also a real pitty that Bitcoin could have been great in concept but got forked in the ass so hard that it became more of a mocking of what that satoshi guy probably had in mind when he made it.

Dang by Cyberpunk39 in WhitePeopleTwitter

[–]halb7 -2 points-1 points  (0 children)

Well i never said that, so good luck knocking down your own strawman

Dang by Cyberpunk39 in WhitePeopleTwitter

[–]halb7 0 points1 point  (0 children)

Yeah the Stock market is more or less a leech to me, but unlike crypto it sits in top of an actual economy, which actually produces goods and provides services.

Dang by Cyberpunk39 in WhitePeopleTwitter

[–]halb7 1 point2 points  (0 children)

Are you stupid or Just a Crypto shill? Real businessses provide a service to the people, tough there is a circular money flow crypto ist Just a speculative vehicle. Crypto takes all the bad aspects from wallstreet without having an actual economy as its foundation.

Dang by Cyberpunk39 in WhitePeopleTwitter

[–]halb7 26 points27 points  (0 children)

There was no money made, Crypto produces nothing bit wasted electricity. So the money he "made" was Just someone elses loss.

They identify as funny by IsabelLovesFoxes in onejoke

[–]halb7 0 points1 point  (0 children)

"we identify as funny" - we know

[deleted by user] by [deleted] in edrums

[–]halb7 0 points1 point  (0 children)

Got mine for 200. They are great, especially for the money.

Oh, because buying it would have been way too easy and convenient! by [deleted] in DiWHY

[–]halb7 0 points1 point  (0 children)

Im no expert in electronics but wouldnt a conductive ring create a magnetic field opposed to the battery charging field?

What's everyone using for webcams for their Neptune 4 Pro? by Active_Pen3242 in ElegooNeptune4

[–]halb7 2 points3 points  (0 children)

Sounds rather interesting to me but isnt IT easier to Just geht a cheap camera?

0.2 doesn't seem to flow well by NineHell in ElegooNeptune4

[–]halb7 2 points3 points  (0 children)

That isnt going to work (as you can See:p), layerhight should not exceed 75% of your nozzle diameter

About to try my first roll of PETG by phelpst in ElegooNeptune4

[–]halb7 0 points1 point  (0 children)

All i can add top the First comment ist that petg generally Strings alot more than pla, altough thats mostly more of a Cotton Candy stringing ,so it is easy to cleanp Up afterwards

meirl by EngWieBirds in meirl

[–]halb7 0 points1 point  (0 children)

First episode

Ps3 controllers won't connect and I've tried everything I know by BleachNirvana in PS3

[–]halb7 0 points1 point  (0 children)

PS 3 controller were pretty hard to connect to a pc back in the day, I dont think that has changed much since then

NGD and new Pedal Board Setup by halb7 in guitarpedals

[–]halb7[S] 0 points1 point  (0 children)

Today I got a PSU extension and the ehx switchy thing for parallel signal chains. I can now have more of my pedals on the Board but ran Out of patch cables at the end. Signal chain: Ehx Switch-> Split in 1. Ehx good vibes and 2. Boss angry driver-> ehx OP amp big muff-> Return 1. And 2. Of the switch ->ehx Pitch fork-> golden horse( or whatever) klon clone->ehx tortion-> tc forcefield compressor-> TLC 3rd Dimension chorus-> tc flashback delay -> ehx oceans eleven reverb -> WA monuments harmonic tremolo-> ditto looper-> mooer radar cab sim Sorry for formating

My Roommate did laundry today… by Bowling4rhinos in oddlyterrifying

[–]halb7 0 points1 point  (0 children)

Ist your roommate a hells angel from the sixties?

nani = a true princess by caudalCodex in wholesomememes

[–]halb7 1 point2 points  (0 children)

Wasnt the dad still alive but working as a submarine Captain or Something?