• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

macro for creation line

  • Thread starter Thread starter Teopado89
  • Start date Start date

Teopado89

Guest
Hello, everyone.

I ask you a great help please:

in various moulds I must be able to create a schematic representation of the cooling circuit. in practice for each branch of the circuit (tubes and wells) I have to schematize the axis.

Can you tell me a quick procedure to do that?
I usually try to highlight the cooling system (the single axieme if the mold comes from a cat product, otherwise I must switch to a wireframe display (when the mold comes from a stp format and loses references).

If you want you could set a macro or something like this:
I put myself in wireframe display,
select the two lines on the side surface of the "cylinder" which represents the "tubo" of the circuit
I say I make an equidistant line between the two lines
select the circles (from the wireframe) that delimit the end of the circuit branch (to understand the bases of the cylinder)
and so close start and end of the line?
all these operations maybe in 5 clicks (line, line, circle, circle, confirmation macro).

Is that possible? Would you help me create it please?
or do you have other ideas faster yet?
Thank you.
 
try to do this:

Maybe you don't know that with a double click on a features, the command remains active and reboots after each sending.

now as features use the "point" (type of circle/stop/center point) and select the radius of each terminal, of which the center point will find you, continuing in sequence for the whole circuit (you do not need to view in wireframe) and you will get all the points to join with a line.

obtained points, join them with a poly-line (generative environment shape design, insert/wireframe/poli-line)

If you have done things well and in sequence, you can even select the points in order directly from the tree, avoiding going up and down in the 3d.

in poly-linea you can also put rays (if necessary)

Let me know.

Hi.
 
Hello thanks for the answer. you are what you said I use it habitually, I usually avoid poly-line because if I mistake a trait then I lose all the way.
I usually do:
create axes by selecting the cylinder (if I can, sometimes it does not work)
I intersection between axes (of different cylinders) so I find the end of the branch
then I create the line between the intersections (which are the points).
But sometimes the cylinders are made in surfaces (perhaps cat conversion error when importing the file from a step) and then I have to make extraction of the lateral surface, intersect it with the axis of the cylinder... or other times "free" two wells and the branch that unites them as a unique entity, and does not make me use the axis etc, so when I do not find solutions I have to move to the wireframe but it is long, and I look for a faster solution.

I'm at first with catechism, they taught me these basic commands, so I don't know if there are more performing functions or artifices.

Maybe it is possible to attribute properties to certain solids/superfici, and then set a macro that feeling these properties knows what to do?
I insist on macros because I see that with excel I can make small magic, so I hope that even in catia this is possible

ps at work I have cac license and md2

edit:
other question, is there a possibility with shortcut keys to change the odd way view from wireframe to solid+bord and vice versa? example in solidworks on the right mouse button you could put up to 8 direct xke commands opening a circle around the mouse and moving it by selecting the command

Thank you.
 
I should see the part to understand what you can do. . .
If the parts originally are solid, the step of caia, keeps them such, unfortunately if you have that mixed surfaces and solids, I think the problem is generated upstream.

catia uses macros (which I ahimè do not know) and makes us beautiful things, but in a case like this, with imported and different input data (solid surfaces etc.) I think it is not simple. . .

to customize the keys:

view/bar of the tools/personality commands/categories/all commands scroll through the window until you find the command, click above 2 times and open the command properties.. .
(not all are customizable I imagine for usage issues in different environments)

If you have the 3d connexion mouse, you can customize the wheel...

Hi.
 
I should see the part to understand what you can do. . .
If the parts originally are solid, the step of caia, keeps them such, unfortunately if you have that mixed surfaces and solids, I think the problem is generated upstream.

catia uses macros (which I ahimè do not know) and makes us beautiful things, but in a case like this, with imported and different input data (solid surfaces etc.) I think it is not simple. . .

to customize the keys:

view/bar of the tools/personality commands/categories/all commands scroll through the window until you find the command, click above 2 times and open the command properties.. .
(not all are customizable I imagine for usage issues in different environments)

If you have the 3d connexion mouse, you can customize the wheel...

Hi.
as always thanks for availability.

I had already looked in the menu and when I choose the wireframe command there are no shortcut keys unfortunately. . .
for the macro the problem of the step is as follows:
we collaborate with another office that uses unigrafics, and the only way for us with catia to open their files is through the conversion step they send us.
I was thinking:
As in caia when I make a measure I can choose the type of entity to select (spigolo, surface...) can I not choose precisely the edges that constitute the height of my cylinder, regardless of whether it is modeled on surface or solid?
Sorry I don't know the "limits" of macros:-p
 
someone knows how to make a window appear that says " select first item" and I can select the first item (point, line or what it is), then asks me the second element, I select it, and with the select.element2 command stores them?
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top