circular array of lines
circular array of lines
(OP)
I need to create a disk with a lot of bumps and notches on the circumference to act like a coding disk. (As they used to be applied in washing machine timers.)
My first guess was to create a sketch and use a circular array of lines to indicate differnt time slots. Then extrude and remove bumps until I have what need. But circular array or pattern face does not work on lines. Also I can not use pattern face on an extruded face and subsequently simplify as the pattern is to complex (some bumps are build on others).
Is there a way to automate the drawing of multiple lines through expressions. Is there some sort of loop code I can use in the expressions editor? Or is there something like a script editor I can use?
My first guess was to create a sketch and use a circular array of lines to indicate differnt time slots. Then extrude and remove bumps until I have what need. But circular array or pattern face does not work on lines. Also I can not use pattern face on an extruded face and subsequently simplify as the pattern is to complex (some bumps are build on others).
Is there a way to automate the drawing of multiple lines through expressions. Is there some sort of loop code I can use in the expressions editor? Or is there something like a script editor I can use?





RE: circular array of lines
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
RE: circular array of lines
BTW, if you were move up to at least NX 5 (NX 6 would be even better) this would be a lot easier to model.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
But... I do not completely understand what you've done. i.e. the constant angle constraint does not seem to update the angles when I remove a line. I wasn't aware of constant angle, but it feels like an angle that is fixed at a constant value. It has no intelligence.
And did you draw and constrain all the lines by hand or is this automatically constrained after add existing curves from import?
I've been designing gears, mutilated gears and geneva wheels that can be controlled via expressions completely. I actually want to create a template for this shape too, if possible.
Why would this be easier in NX 5 or 6?
RE: circular array of lines
The reason why I say NX 5/6 would be better is because there is an Instance Geometry command that would have allowed you to create a parametric circular array of the line segments which would have allowed you to change the number of potential 'dimples' by just editing a single expression.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
However, is there a way to automate the drawing of multiple lines? Either through expressions or through some script that facilitates loops and counters (if scripting exists in NX I'm not sure).
But thanks anyway as your sketch is still a solution I can use.
RE: circular array of lines
Well, it's been 18 months already since it was released.
As for 'drawing multiple lines', exactly what did you have in mind? After all, a simple GRIP program could be written. The results would not be parametric or part of a sketch, but it would be pretty easy to write a program that would produce a set of simple curves laid out like the sketch I posted earlier and in reality, except for editing the sketch afterwords, the ability to produce the solid model included in the example file I posted did NOT depend on the curves being part of sketch. That part of the work-flow would be identical irrespective of how the curves were drawn or whether they were part of sketch or not.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
Were can I find this grip compiler? The only thing I can find in the NX directory is some gripbatch.bat file.
>> the ability to produce the solid model included in the example file I posted did NOT depend on the curves
>> being part of sketch. That part of the work-flow would be identical irrespective of how the curves were
>> drawn or whether they were part of sketch or not.
I think you mean that I can extrude any curve or edge. That I don't need a sketch for that. But I think a script like file is almost as effective as a sketch.
RE: circular array of lines
To access the GRIP Toolkit, go to the Windows Start menu and go to 'All Programs' and when you find an NX item place your cursor over it and select the 'NX Tools' item and then with the cursor over that select the 'NX Open Grip' item. Now before you say anything, yes, it looks like something that came out of the last century (come to think about it, it DID). As you will notice, this is a command-line driven tool, but remember, OFFICIALLY GRIP has been in maintenance ONLY for over 10 years now, however it still works (I just used the GRIP Tool yesterday in NX 6.0.2.2). Once you get used to it, it's pretty straight forward. Note that the actual creation and editing of the source text files can be done in any text editor, but you will need to use the .grs file extension or the GRIP Tool will not recognize the file when you edit or link it using the GRIP Tool.
Anyway, give it a try.
John R. Baker, P.E.
Product 'Evangelist'
NX Design
Siemens PLM Software Inc.
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/
To an Engineer, the glass is twice as big as it needs to be.
RE: circular array of lines
But thank you very much for your support. I now have all answers I was wondering about.