News:

Please note new Forum URL: forum.designcad.com

Main Menu
DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

"Cloud" tool

Started by rictheobscene, November 20, 2014, 10:20:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rictheobscene

Greetings:

My foray into the world of CAD continues. I'm sure this strikes fear into the hearts of those who actually know what you are doing.

I upgraded to v24 of DesignCAD when it was released, and I am using that version exclusively at this time and am working in 2-D mode only.

I was asked to design an add-on to an existing SCADA system, which was nothing new. Now, they've asked me to incorporate my design into an existing drawing and draw a cloud around the additions. I've seen, wired and programmed off of schematics with new items enclosed in clouds, so I know what they want.

Does DCAD have a cloud tool that I am overlooking? If not, I would like to garner some tips and tricks that anyone would have on how to accomplish this.

Thank you for your time.
With Kind Regards:

Ric Kinney (aka Ric(†he)Obscene)

Dr PR

Ric,

There isn't a "Cloud" tool. If I recall correctly someone posted a macro within the last year or two that will construct a cloud. Search for "cloud" in the Forum Search box.

You can male a cloud by creating a bunch of arcs and linking them together. This works fine if you need to do this only occasionally.

Phil
DesignCAD user since 1987

prl

#2
My approach.

1.  Use the curve command and circle something closing the curve.  Open the infobox, and select Semi line style.  If the bubble is inside out, select the curve and reverse points command it.  Set your scale on the Semi line style so it is more or less the way you like it.

2.  Drag that curve off to the side, it is your "same-as goby" template.

3.  Use the curve or box or circle command, put standard line shapes around what you want to bubble. 

4.  In the end, select those shapes and use the infobox same-as finger and point at your "goby" template.

Note this approach may leave little gaps and such in the bubble, but frankly I don't care about those, it's a "edit this" bubble and looks free-form.

samdavo

#3
Quote from: prl on November 20, 2014, 10:32:37 AM
1.  ... and select Semi line style.  ... Set your scale on the Semi line style so it is more or less the way you like it.
Rick
Agree with all that prl has said.
You will find "Semi" amongst the standard line types.

I assume in general the cloud would follow a random closed curve...

- best if
a) you set the length of the curve to be an integral multiple of the scale of the "Semi's", or
b) you set the scale to be a factor of the curve length.

That way there will be a neat join at the start and end.   

Note also that a small scale is required if you have tight corners, otherwise the kangaroo hops have a habit of spinning out along tangents

More discussion here - for the time being stick with the first post there only.  Summary of the rest follows next post.
http://forum.designcad.com/index.php?topic=4882.msg31094#msg31094


PS There is an unfortunate feature of "Semi linestyle" in that it doesn't start at the first point of the line.   I am confident that is easily corrected, i.e. so that the hops start at the start-point of the line, rather than displaced a half-hop "to the left", i.e. the first hop is by default symmetrical about the start point of the line.  "later"

samdavo

#4
ok, suppose you want to use an orthogonal cloud.  (see attached jpeg).

Suppose your line scale is 100, (i.e. each "hop" will be 100 long),
then
a) every line of the cloud should be an integral number of 100's, eg 500mm etc
b) after that you should delete the first 50mm of the first line  (i.e. what was 500 is now 450)
c) if they are drawn individually, you should join them clockwise,  i.e. draw the first line clockwise and join the rest to it.

You end up with a neat set of kangaroo hops.

Note that if you scale the orthogonal shape down by 50%, you now have 250 for the first line, and the bounds/hops spin out on corners.  Hence (below) you can then scale the hops down to 50 to get around this.

samdavo

#5
There's a better way (if you have a lot to do) which involves correcting DCAD's Semi linestyle.

I will add this to "Tips and Tricks" - I have christened a new linestyle , Semi3.
cheers

herbertjackson

The cloud micro was sent in by Accuratesteel   here it is

' program to draw a cloud by drawing a curve

s=sys(12)/.6
>Curve
{
<LineStyle 39,,0.0000
<Type 0
}

sys(4)=0

samdavo

#7
hj
quite right,
PS herewith the thread where accuratesteel posted it :-
http://forum.designcad.com/index.php?topic=4576.msg27776#msg27776
reply #10    #12.

PS All it does is set the line type to "Semi", and the scale is a proportion of text size.

I made a simple modification, including metrication, i.e. text size 100 (see below).


PS Note that it still has a problem of starting half a hop too early.
Hence there is (IMHO) a better method, (edit) - correction - but only for orthogonal clouds is it arguably better    - namely to use linestyle editor to come up with a new linestyle, which I show on the Tips and Tricks thread :-
http://forum.designcad.com/index.php?topic=6004.msg42456#new

Quote'program to draw a cloud by drawing a curve,
'the scale is the distance between the kangaroo bounces, with 100(mm) at the default
'you get two chances - just delete the one you don't like

Message "Must be Clockwise!! PS if you don't like the scale, you get a second chance"

Input "Current Roo-hop size = 100 each. Accept with Enter or OK, or advise new preference:", ksemi$
ksemi= 100
If ksemi$ <> "" Then
  ksemi = Val(ksemi$)
  End If

>Curve
{
  <LineStyle 39,[ksemi],0.0000
  <Type 0
  }

Input  "Happy? Just press OK/Enter to accept, or advise new preference:", ksemi$
If Sys(999) Then
   End
End If

If ksemi$ <> "" Then
  ksemi = Val(ksemi$)

>Curve
{
  <LineStyle 39,[ksemi],0.0000
  <Type 0
  }
End If

sys(4)=0


magic

Hi all,

Attached is a cloud macro that I just recorded at 4 a.m.. Please try it out and adjust as you like.
It's a kind of magic!