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.

Adding a few gradient hatching patterns add lots of GRADIENT XX

Started by Dempsey, February 09, 2011, 07:49:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dempsey

I don't know if this is the way to do it, but I needed solid colors as hatching. So I used Gradient to define a solid color and gave it a name. In the end I had 7 colors defined and they work fine.

However, I now noticed that DC has generated "GRADIENT 01" to "GRADIENT 91". Each group of 7 GRADIENTS match my colors in the order they are in the list. Is this normal? Did I do something wrong?
Dempsey

paulerens

Hi Dempsey,
I have the same problem here.
Even from 01 to 305
Most are gradients from white to black over gray .
I thought I made a fatal mistake somewhere and have not  reported this.
It would not be bad, to got some explanation of IMSI When they introduce a new application.

Paul.

Dr PR

Dempsey,

Could you be more specific about 1) what you are trying to accomplish, and 2) how you did it?

1. For solid* color "hatching" I have always used WinSolid. You can get any color on the pallet. However, if I recall correctly, WinSolid doesn't export. So, are you trying to generate a solid "hatching" that will export? If so, why don't you just use a plane?

* Note: I am not talking about the color of solids, but an uninterrupted continuous color over a defined area.

2. I have used gradients in 2D drawings on many occasions, and always get just one entry in the hatch list for each gradient I create. I don't understand where you are see in the large number of gradients. Is this in the "Draw/Hatch #/Hatch/Hatch" list box that opens when you click on the hatch pattern window? Or is this a bunch of files that appear somewhere in a folder?
DesignCAD user since 1987

Dempsey

I am just doing 2D and needed enclosed areas to have a solid color and thought that solid hatching was a solution.

I had forgotten that a plane would work too, but each plane needs its own defining border, while hatching can share borders and is therefore easier.

I click 'hatch" icon, click on the hatch pattern, click on "gradient pattern", select "new pattern", select the color, give it a name and that is it. You see the 7 Solid Red, Solid Blue, etc.. What bugged me is that before I started doing that, there were only GRADIENT 01, GRADIENT 02 and GRADIENT 03, most likely from experimentations in the past. Since I create my solid colors there are almost 100 GRADIENT xx in the list.

Starting with WinSolid gives the same results. I am not concerned about exporting.
Dempsey

Dr PR

Dempsey,

I created two gradients a few months ago in a 2D drawing - with V20.0. I have only my two gradients listed in the Hatch list box. These were actual gradients - blue to red and blue to yellow.

I just created two new gradients in V20.1, again with actual color gradients. Only those two patterns are listed in the Hatch pattern list. So I can't help with figuring out where all of your extra gradients came from.

****

I still don't understand why you are using the "Gradient" feature since you aren't actually creating gradients.

The ordinary WinSolid hatch fill can be any color in the color palette. The fill will be the color of the currently selected color in the Color Toolbar. You can also select an existing hatch fill pattern and edit it in the Info Box. Either click on the color tile to open the color palette, or use the "finger" tool to select the color of an existing object.

This discussion does bring up a question. Where are user-defined gradients saved? When I open the drawing where I created the gradients I see the "blue to red" and "blue to yellow" gradients listed in the Hatch lists. But when I open a new drawing the user-defined hatch patterns are not listed.

This is another example of how DesignCAD fails to maintain a common collection of user-defined items for use from drawing to drawing and version to version.
DesignCAD user since 1987


Dempsey

Follow up on the mysterious gradients.

Now that my Westcoast Sun Mask is completed I needed to update my drawings. Continued with my V20.1 drawing and updated it using DC 21.1. It had one paperspace defined and I needed 6 for the various drawings. Loaded another paperspace and lo-and-behold DC went into a loop and did not respond anymore, and I had to kill the program.

I looked at the hatch patterns and sure enough there were by now 1770 gradients!!!!! I manually deleted them all. And after that I could load 5 paperspace templates, but DC got hanging again when I tried to load a 6th template.

I know where the gardients are coming from. The program created them after I created 6 or 7 gradients myself and reused those 6 or 7 gradients to colour filled areas in my drawing.

I vaguely remember that DT mentioned something about looking into this problem for V21.1, but I did not see anything mention in the release notes of V21.1.
Dempsey

paul craig

i use win solid for the outlines in my etching drawings, and it exports in dxf or dwg generally, although there can be problems too.
the way in which dcad plots the solid can cause what i call spiders webs across an item. for instance, at the corner of an etch i have often found that the hatch jumps across the corner. something to do with the way in which the points start.

paul

Dr PR

Paul,

I have seen your "spiders" many times while creating photoetch patterns. The hatch fill "splatters" all over the drawing. In fact, "Hatch Fill" fails this way almost every time I try to use it with complex curves and outlines created from many segments. It is another example of DesignCAD's asinine attention to point order in lines and curves.

To solve the problem I use "Draw/Hatch #" and either gravity snap to existing points or use "Line Snap" (K) to snap the hatch boundary points to the outlines. This works correctly every time.

You can edit Hatch Fills in Point Select mode if you have just one or two errant points. I have even edited hatch fills with many dozens of points scattered randomly around the fill area, but it is much faster to just delete these fills and start over with "Hatch #."

You can also add new points to existing hatch fills in Point Select mode, allowing you to stretch a fill into a missed corner and such.

Phil
DesignCAD user since 1987

paul craig

interesting phil in that i have used hatch line occassionally to work pretty well,but not the other hatch  and will certainly do that on the next lot of artwork, along with your idea from elsewhere about using point select.

paul

DrollTroll

Dempsey, are you loading symbols that contain gradient hatches? Seems like each time the symbol is loaded it re-creates the gradients for that symbol instance. So far I'm not seeing any paperspace-related behavior.
25 years with DesignCAD

Dempsey

DT,

I don't use symbols. However, I grouped a piece of the draw including solid colour hatching, and then made several copies. I even deleted several groups, modified a group and then copied that group again multiple times.

I find it hard to believe that a copied group start creating new gradients, because I deleted all the "generated" gradients and all the solid colour hatchings remain correct.

Dempsey

DrollTroll

It certainly *shouldn't*, but that doesn't mean it's not doing it. If you guys can help me figure out what triggers this, we'll much more likely fix it.
25 years with DesignCAD

Dempsey

DT,

I have tried to narrow the problem down to basics.

I started with the default new drawing, so no customization from my side.
Added 2 overlapping rectangles.
Defined 3 custom solid colours (red, green, blue).
Hatched the rectangle areas with these colors.
No extra generated gradients!!!
Saved drawing

Went to paperspace.
No extra generated gradients!!!
Loaded my own "portrait" paper space template.
AND some 862 numbered gradients are added to the hatch pattern list.

My paper space template was saved while working with V21.0 and again with V21.1.
Obviously the extra gradient hatchings are saved with my paper space templates and added to the drawing when a paper space template is loaded.

Granted the template was most likely saved from a "contaminated" drawing, but that does not mean that the paper space template should add unused hatchings to an "uncontaminated" drawing.

It is getting even more interesting.

I loaded my "landscape" paper space template and now 435 numbered gradients were added.
It took several second while Windows 7 wait "circle" showed.

Next I loaded my "portrait" paper space template again and now another 862 gradients were added for a total -- consecutive numbered -- 2166 gradients. Loading took this time even much longer.
No wonder that the program killed itself after I had loaded 5 of my templates.

I will continue testing and come back later




Dempsey

Dempsey

Using the above drawing with the three custom colours for hatching.

In paper space I created an empty template and saved it as a template.
Existed the drawing.
Opened the drawing.
In paper space I loaded the empty template.
Now I had 6 gradients added?!?!?!
I loaded the empty template again and it added again 6 gradients.

For what it is worth I believe that it is impossible to save an empty paper space template when you have custom define solid colour hatching defined in that drawing.
Loading such an "empty" paper space template causes double the custom define colour hatchings to be generated as extra gradients each time the template is loaded.


How could I have gotten such a large amount of extra gradients? Well, I had some 8 custom defined colours. I used 6 paper space layouts and saved the "empty" paper space templates a couple of times, so 8 colours became 16 per paper space layout becomes 96 gradients. Save an empty paper space layout and load that again and now suddenly 192 gradients are added per template load.

Paper space templates should not save custom solid colour hatchings unless it is used in the template itself.
Dempsey