Unable to create pattern

Unable to create pattern

PrathapSekar
Collaborator Collaborator
3,975 Views
22 Replies
Message 1 of 23

Unable to create pattern

PrathapSekar
Collaborator
Collaborator

Hi Masters!!!

             I want to create a model pattern as shown in image.

 

Pattern.JPG

 

 

 

I created a pattern as below,

 

                          *Tile Sheet,
                           ;%TYPE=MODEL
                           0, 0, 0, 0, 3
                           0, 0, 5, 0, 3

 

While loading it into Revit I cant use the import scale as 1 in Add Surface Pattern dialogue box, if import scale is set to 1 it show some error like "The pattern with the values you have supplied is too dense. Try increasing the Line Spacing". So I tried a scale value as 5, now it works fine, but the problem is the pattern not worked as I created instead it works as 5 10 5 10 . . . (i.e it takes the value I entered into import scale). Also I tried with other values such as 10, 15 etc., it doesn't works as I needed. Please help me to get rid of this.

 

If this is not too clear please let me know.  Thanks in advance.

Thank You! and please 'Accept As Solution' when you found a solution, to help others.
0 Likes
Accepted solutions (2)
3,976 Views
22 Replies
Replies (22)
Message 2 of 23

FGPerraudin
Advisor
Advisor

Hi Prathap,

 

did you check the units of the pattern you want to import?

 

Default unit is millimeter in metric system, and I guess that you are talking in cm...?

In which case, the import scale should be 10.

 

Second, how did you write your pattern?

If you give me the dimensions, I can the writing of your pattern, that looks very simple to me...

 

Do not hesitate!

 

Cheers,

François



Francois-Gabriel Perraudin
BIM management and coaching

0 Likes
Message 3 of 23

BIM.Consultant
Advocate
Advocate
Try this one:

;%UNITS=MM
*Tile Sheet,
;%TYPE=MODEL
0, 0, 0, 0, 3
0, 0, 5, 0, 3
BIM Consultant
0 Likes
Message 4 of 23

FGPerraudin
Advisor
Advisor
It still doesn't contain the full hatch... i do not have time today but can write it properly for you tomorrow... if you need it.

Francois


Francois-Gabriel Perraudin
BIM management and coaching

0 Likes
Message 5 of 23

hugha
Collaborator
Collaborator

From your sketch and the pattern you supplied I'm guessing you need two repeating sets of horizontal lines.

 

if mm,

                          ;%UNITS=MM

                          *Tile Sheet,
                          ;%TYPE=MODEL
                          0, 0, 0, 0, 8
                          0, 0, 5, 0, 8

 

edit: The above pattern will not load unless the import scale is set to more than 1.5875 on loading

 

if cm,

                          ;%UNITS=MM

                          *Tile Sheet,
                          ;%TYPE=MODEL
                          0, 0, 0,  0, 80
                          0, 0, 50, 0, 80

 

if metres,

                          ;%UNITS=MM

                          *Tile Sheet,
                          ;%TYPE=MODEL
                          0, 0, 0,      0, 8000
                          0, 0, 5000, 0, 8000

 

hope this helps,

 

Hugh Adamson

www.hatchkit.com.au

 

0 Likes
Message 6 of 23

PrathapSekar
Collaborator
Collaborator

Thanks @FGPerraudin, I used metric project/family and pattern file is in mm (refer below)
";%VERSION=3.0
;%UNITS=MM"

I need my pattern as shown in above image.

Thank You! and please 'Accept As Solution' when you found a solution, to help others.
0 Likes
Message 7 of 23

PrathapSekar
Collaborator
Collaborator

Thanks for your time @hugha

 

I tried your patterns in metric template with units in mm. its working nice. But please refer the image below, I need 5 and 3 instead of 8 and 5 respectively.

 

Pattern_1.JPG

 

Is it possible to achieve this as the image I attached in my first post. Kindly help me. Thanks again.

Thank You! and please 'Accept As Solution' when you found a solution, to help others.
0 Likes
Message 8 of 23

PrathapSekar
Collaborator
Collaborator
Thanks BIM.Consultant, Its not working with the import scale of 1, but working with 4.5. If I use 4.5 scale to import its looking 4.5 and 9 instead of 3 and 5.
Thank You! and please 'Accept As Solution' when you found a solution, to help others.
0 Likes
Message 9 of 23

hugha
Collaborator
Collaborator

The first pattern I posted will draw

 

1) a set of parallel horizontal lines through the origin (0,0) spaced 8mm apart

2) a second set of parallel lines through the point (0,5) spaced 8mm apart

 

That pattern will then have lines through  ... (0,-8), (0,-3), (0,0), (0,5) (0,8), ... 

 

which gives spacings of 5,3,5,3, ...  between adjacent lines.

 

 

For the ... 5,8,5,8 ... spacing you just showed try

 

                          ;%UNITS=MM

                          *Tile Sheet,
                          ;%TYPE=MODEL
                          0, 0, 0, 0, 13
                          0, 0, 5, 0, 13

 

Note: there is *no* interrelationship between individual lines in a hatch pattern. 

Each pattern definition line produces a set of broken or unbroken parallel lines spaced apart by the fifth number contained on in each line and that number must never be zero.

 

 

Hugh Adamson

www.hatchkit.com.au

 

 

 

 

 

 

0 Likes
Message 10 of 23

FGPerraudin
Advisor
Advisor

Hi @PrathapSekar,

 

Here is a FULL pattern, ithat repeats every 320 units in width and 160 units in height.

Integrated unit is MM. (rows are 3cm and 5cm height).

 

4 rows, in order to reproduce the non aligment of your drawing.

 

I have attached the file as well.

 

Try it!

 

If the size of it doesn't fit, just scale it at the import!

 

Hope this will work for you, 

 

Accept as solution if it does!

 

Cheers,

 

François

 

;%UNITS=MM
;%VERSION=3.0

*53
;%TYPE=MODEL
0.0000, 0.0000,160.0000, -0.0000,-160.0000
0.0000, 0.0000,130.0000, -0.0000,-160.0000
0.0000, 0.0000,80.0000, -0.0000,-160.0000
0.0000, 0.0000,50.0000, -0.0000,-160.0000
0.0000, 0.0000,0.0000, -0.0000,-160.0000, 160.0000,-160.0000
90.0000, 160.0000,130.0000, -0.0000,320.0000, 30.0000,-130.0000
90.0000, 90.0000,80.0000, -0.0000,320.0000, 50.0000,-110.0000
90.0000, 150.0000,50.0000, -0.0000,320.0000, 30.0000,-130.0000
90.0000, 100.0000,0.0000, -0.0000,320.0000, 50.0000,-110.0000

 



Francois-Gabriel Perraudin
BIM management and coaching

0 Likes
Message 11 of 23

Keith_Wilkinson
Advisor
Advisor
Accepted solution

2 min job with Revit Hatch Builder - great little free app.

 

Revit Hatch Builder

 

File attached - works when loaded as Model Pattern with Import scale 1.  Hope it's what you want.

 



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 12 of 23

FGPerraudin
Advisor
Advisor

Love the app!

I personnaly use our old Architecture software that can create Hatches on the fly!

 

Cheers,

François



Francois-Gabriel Perraudin
BIM management and coaching

0 Likes
Message 13 of 23

Keith_Wilkinson
Advisor
Advisor

Either option much easier than trying to write from scratch - we've made some pretty cool hatch patterns for floor finishes with this and the automatic brick hatch creation has been very useful too.  Huge time saver.



"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 14 of 23

BIM.Consultant
Advocate
Advocate
Accepted solution

Please find your pattern attached. Use scale 40. 

 

Good luck.

BIM Consultant
0 Likes
Message 15 of 23

Keith_Wilkinson
Advisor
Advisor
Why scale 40? Surely for a Model Pattern you'd want scale 1 for import?


"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
Message 16 of 23

BIM.Consultant
Advocate
Advocate
Because with scale 40 I will have it 3mm and 5mm as requested.

When the pattern was done with scale 1, Revit wasnt able to import it and this is why he is asking for help here. If you want to learn my logic behind the "40 scale" I would be happy to explain.
BIM Consultant
0 Likes
Message 17 of 23

Keith_Wilkinson
Advisor
Advisor
Try the pattern in my post above - imports fine at scale 1.

My concern for any pattern that requires a scale other than 1 to import at the original desired spacing is that most users simply wouldn't know to do it then you're left having to figure out what scale you're supposed to bring it in at to get it to display correctly. I guess if you did everything at scale 40 then that might be an option but it just seems like an unnecessary step.

I like your post about the hatch pattern in groups - will be trying that later!


"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 18 of 23

BIM.Consultant
Advocate
Advocate
Actually I'm using autocad lisp that have 1x1 box to create the pattern.

Since the dimensions required are 3 and 5, I started adding 3+5+3+5.. to reach a number ending with zero. In my case it was 40. Then with scale ratio 1 to 40 I created my lines. I could at the end multiply the numbers by 40, then it will have a scale of 1 when imported.

Here are my numbers:

;%UNITS=MM
*35,35
;%TYPE=MODEL
0,0,1,0,1,1,0
0,0,0.125,0,1,1,0
0,0,0.2,0,1,1,0
0,0,0.325,0,1,1,0
0,0,0.4,0,1,1,0
0,0,0.525,0,1,1,0
0,0,0.6,0,1,1,0
0,0,0.725,0,1,1,0
0,0,0.8,0,1,1,0
0,0,0.925,0,1,1,0
0,0,0,0,1,1,0
BIM Consultant
0 Likes
Message 19 of 23

Keith_Wilkinson
Advisor
Advisor
All sounds unnecessarily complicated but hey ho each to their own.


"Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime."
Maimonides
0 Likes
Message 20 of 23

BIM.Consultant
Advocate
Advocate
I like this method since it gives me freedom to draw whatever I need inside the 1x1 box. I can use all Autocad commands such as mirror, trim...etc

I will consider trying the Revit Hatch Builder.
BIM Consultant
0 Likes