Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

custom area fill pattern

gustagn

New member
I need to create a crosshatch pattern for liquid that meets the USPTO drawing requirements. Does anyone know how to do this or a good work around?
 
Hello, you can try to create an entity for edges on the drawing and after you have a close loop, you can draw the custom crosshatch and save it as a block file to easily load and drag the crosshatch. guess this would work for you. On this way, it is customized but can be used and be uniformed to other drawings. have a nice day.
smiley17.gif
 
Thanks for the reply and it sounds like you know what you're doing but I'm a newbie and don't get it. Are you saying I should create the Xhatch as sketched entities and block them? Then do the same for each section separately? That sounds like a lot of manual effort and would be very time consuming. I probably just don't understand your reply.
 
Ya, that is what i also meant. creating single xhatch or in groups by copy and paste method and saveas .sldblk file. it may be a lot but it would be better than to manually make lines i guess. After this you can add the files to a favorite folder to apply them anytime. i have not tried other methods also like creating and adding it in a default solidworks folder.. do you have other ideas also?
 
Since it's the actual fill pattern (line thickness, spacing, gaps, gap spacing, offsets) that needs to be customized to accurately depict a fluid, I was hoping there was a way to hack (copy & edit) the code that drives a particular crosshatching pattern within a boundary, to my particular needs. That's my idea but I don't know how to do it and maybe it can't even be done. I'll keep searching as it's bound to come up again.
Thanks for the suggestion!
 
gustagn,


From I understand, hatch patterns CAN be created and/or modified, although it is by no means an easy task. It requires editing the Sldwks.ptn file which is in (C:\Program Files\SolidWorks 2007\lang\english). The following is a very short snippet from a custom wood pattern which I found online...
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">


*:073:endgrain,Wood, end grain
0, .8,0, 1,1, .05,-.95
0, .1,.1, 1,1, .1,-.9
0, .75,.15, 1,1, .05,-.95
0, .15,.25, 1,1, .05,-.95
0, .75,.3, 1,1, .05,-.95
0, .2,.35, 1,1, .05,-.95
0, .75,.4, 1,1, .05,-.95
0, .2,.5, 1,1, .05,-.55,.05,-.35
0, .2,.6, 1,1, .1,-.5,.05,-.35
0, .15,.75, 1,1, .05,-.15,.05,-.4,.05,-.3
0, .1,.85, 1,1, .05,-.2,.1,-.65
0, .75,.9, 1,1, .05,-.95
0, .1,.95, 1,1, .05,-.25,.05,-.65
45, 0,0, .7071067812,.7071067812, .141421,-1.272792562
45, .85,0, .7071067812,.7071067812, .2828427,-1.131370862
45, .85,.5, .7071067812,.7071067812, .07071,-1.343503562
45, 0,.6, .7071067812,.7071067812, .212132,-1.202081562
45, .85,.6, .7071067812,.7071067812, .3535534,-1.060660162
45, .85,.75, .7071067812,.7071067812, .212132,-1.202081562
315, .65,.85, .7071067812,.7071067812, .07071,-1.343503562
315, .3,.05, .7071067812,.7071067812, .141421,-1.272792562</BLOCKQUOTE>
If you can decipher what all these coordinates represent, then you're in business. My guess is that the first number is the angle to be drawn.
Good Luck! And let us know how you make out!
Joe L.

Edited by: joelewinski
 
Thanks Joe, You're the man! I'll toy around with it when I get a chance and post the fill pattern for others to use if I can. The pattern for fluid should certainly be easier than end grain of wood (I hope).
Gary

P.S.How did you find such a thing "online"? I'd love to have that resource in my tool box too.
 
Ahh. Ancient Chinese Secret, Grasshopper...





Actually, a simple Google search for "custom hatch for solidworks" and this popped-up straight away.


But please, let's keep this our little secret!
smiley2.gif



BTW - If you get your pattern to work right, I'd love to see what the USPTO standard for liquid looks like. Maybe you could post a pic?
Edited by: joelewinski
 

Sponsor

Articles From 3DCAD World

Back
Top