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.

Intentionally wiggley lines for rough metal surface.

Started by samdavo, July 25, 2014, 05:49:22 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

samdavo

I enclose an example of an intentionally wiggley line - representing a rough-cast metal surface. 

Anyway it serves as an example of a line-style that I was hoping was available  (maybe using line-editor).

And I was wondering if anyone has created a linestyle that simulates that wiggley line?

PS I realise it would be pretty easy to draw a curve instead - but - just that I saw a challenge and ...  :)

samdavo

I suppose "wave" linestyle (with small scale) is part-way there - but could have a more random wavelength and amplitude to advantage. (2 cents)

samdavo

I find a section in an old V12 (Upperspace) Reference Manual - possibly in newer ones as well - that talks about "Creating Custom Line Styles and Shapes."   And it certainly appears that it can be done.  Time will tell.

I haven't achieved it yet, but as I understand it:-
You have to add a shape in DCSHAPE.SYS
using V 2 or C 3,     using V or C

where V is a vector between points that follow, 
and C is a curve
(and arcs as well,    I assume A 1 ?   )

(edit) I believe the number that follows the V or the C is the number of points in that particular line or curve

eg :- 

AS-CAST
C 3
0.0000,0.0000
1.0000,0.0500
2.0000,0.1700
3.2000,0.1900
4.0000,0.0800
5.4000,0.1800
6.9000,0.4400
8.9000,0.1200
10.0000,0.0000
*

(must end in an asterisk).

Then you define linestyle  - best if it ends up in DCLSTYLE.SYS (avialable to all new files as I understand it. 
(More to follow)

OPTION A.
Since y is positive in all those points, then the curve should be mainly "above" the straight line between 0,0 and 10,0.  (to simulate machining back to finished machined size).   

OPTION B
I was thinking of adding a straight section between curvey sections ( 10 units each) - see the red option.   That way lines meeting at corners of rectangular sections could be made to join more easily. (If you look at the "Wave" linestyle in the previous post, you'll see the same problem there, i.e. when the length of the rectangle side is not an integral number of wavelengths).

OPTION C
Heck you could even have a line with BOTH the curve (between 0,0 and 10,0) and the straight line (ditto). = green option.

PS The attachment has been drawn manually - not yet using linestyle.  That's for "some later date".     
PS My main problem is wrestling with administrator rights lol. - But I'll sort that out hopefully - maybe with the other computer.

Moral of the story, DON'T load DCAD under PROGRAMS\IMSI\etc  (whatever the default is)  - instead use C:\DCAD direct

samdavo

Well I can add that Linestyle (to DCLSTYLE.SYS) in V12 -  but can't in V22.1 (because of administrator rights).

QUESTION for DT pls...
Also I can't add V23 to my second (home) computer, because ( I suspect) I installed it first time (on work computer) as "for everyone on this computer" - and I believe I should have loaded "for self only" - which I believe would let me add it on a second computer, again "for self only".   i.e. I am guessing that the licence permits the program to be loaded on two computers PROVIDED  you use "self only" on BOTH. (?)

DT, you might confirm that that is the case please.   Otherwise I will ring IMSI during the week.  When you blokes FINALLY get out of bed on a Monday morning (which is already Tuesday for us :) )  Cheers

DrollTroll

So long as you're the only one using it, it doesn't matter to us if you install "for all users" or "just for me".

Yes, in Windows Vista and later, Microsoft finally started playing hard-ball with permissions on the Program Files folder. They'd been threatening to for several versions, but we mostly ignored it until we had to.

I prefer to install "Just for me" so I can have all the DesignCAD bits and pieces in one place; Microsoft's "binary files must not be available to mere users" nonsense is just anathema to me. I know what I'm doing (and am willing to take the blame when I don't) and don't want my hand held.
25 years with DesignCAD

samdavo

Thanks DT
It seems to me (might be wrong) that files like DCLStyle.sys can end up on C:\ProgramData\IMSIDesign  irrespective of whether you loaded the program on C:\Program Files.   Sorry I need to doublecheck that.

Anyway once in C:\ProgramData, the file needs administrator rights to amend it.   (which I thought I had, lol, I'm the only user and I can change most files as I wish, plus add delete programs etc (?)
Cheers

magic

Hi Sam,

Quote from: samdavo on July 26, 2014, 05:02:31 PM
QUESTION for DT pls...
Also I can't add V23 to my second (home) computer, because ( I suspect) I installed it first time (on work computer) as "for everyone on this computer" - and I believe I should have loaded "for self only" - which I believe would let me add it on a second computer, again "for self only".   i.e. I am guessing that the licence permits the program to be loaded on two computers PROVIDED  you use "self only" on BOTH. (?)

DT, you might confirm that that is the case please.   Otherwise I will ring IMSI during the week.  When you blokes FINALLY get out of bed on a Monday morning (which is already Tuesday for us :) )  Cheers

The license text is very clear on this subject:

IMSI Design, LLC grants to you a license:

•To use the Software on a single machine.
•To make a single copy of the Software for backup purposes only.
•To modify the Software and/or merge it into another program for use on a single machine.
•To transfer the Software to another party if that party agrees to accept the terms and conditions of this Agreement, and you do not retain any copies of the Software, whether in printed, machine-readable, modified, or merged form except as expressly provided for in this license, you may not copy, modify, or transfer this Software.


I get the question a lot, and I explain that this is, how it works. If you want DesignCAD installed on more than one machine even for you own use, you need to buy extra licenses.

If this policy changes, I'd sure like to know!
It's a kind of magic!




samdavo

Magic
I could say "I am the ultimate authority on this matter, and I can tell you categorically that ..."

But instead I will say "I will let others, eg DT, check and/or clarify the matter"  :)