News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

GRP Grating

Started by RAB, April 29, 2014, 04:25:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RAB

Hi

Can anyone help to create the mesh grating for a walkway.
The sheet size is 4007 x 1007 x 14 mm thick with 13 mm square holes on 20 mm pitch. I can create all the strips but to get it to look right in hidden line each strip has to be subtracted from each other to create about 1000 holes! There must be an easy way?

Thanks

Richard
TC Pro v16

Orion20036

#1
Try making a small section of the grid with holes, then turn it into a block, then array copies of the block in the x and y direction, finally turn your blocks into a group.

John R

This is what I got with a Block. I made it at 20mm, so it could be stacked side-by-side, instead of overlap when the Array copy tool is used (50 rows × 200 cols). It takes about 10-15 seconds to render.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

#3
Quote from: John R on April 29, 2014, 11:43:57 AM
This is what I got with a Block. I made it at 20mm, so it could be stacked side-by-side, instead of overlap when the Array copy tool is used (50 rows × 200 cols). It takes about 10-15 seconds to render.

That looks cool.  Can you do it so it looks right in Hidden Line Render John?  Using Tools only available in version-16-Pro.

I deleted my previous Post/suggestion on this Topic; thought I'd just observe what you expert guys offer and learn from it.

-Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Alvin Gregorio

#4
Quote from: Alvin Gregorio on April 29, 2014, 11:47:41 AM
...Can you do it so it looks right in Hidden Line Render John?  Using Tools only available in version-16-Pro (not using the multi-3D-Add feature).
...

Sort of like the below, but all 5476 10,000 "cubes" 3D Subtracted, not just the nine shown.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

John R

All I did in the picture was overlap a cropped Hidden Line render image on top of a Quality render in Paint Shop Pro 10.

I don't understand what "multi-3D-Add feature" means. There's 10,000 Block objects in the drawing. Nothing has been added together. I Simple Extruded a pair of rectangles (green object) with the help of the "Use Compound Profile" feature. No subtraction needed, as it creates the hole while extruding. I did the same thing to make the red border. If all were the same pen color or material, they would look like one piece.

The picture behind the inset shows the whole thing Quality rendered (w/perspective 35°).
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

Quote from: John R on April 29, 2014, 12:21:48 PM
All I did in the picture was overlap a cropped Hidden Line render image on top of a Quality render in Paint Shop Pro 10.

I don't understand what "multi-3D-Add feature" means. There's 10,000 Block objects in the drawing. Nothing has been added together. I Simple Extruded a pair of rectangles (green object) with the help of the "Use Compound Profile" feature. No subtraction needed, as it creates the hole while extruding. I did the same thing to make the red border. If all were the same pen color or material, they would look like one piece.

The picture behind the inset shows the whole thing Quality rendered (w/perspective 35°).

It's the Hidden Line Render image John:  In a real-live "grate", there wouldn't be those lines that are in between each of the "holes".  The lines that make up the outer-edges of the individual Blocks.
___
"multi-3D-Add feature" was referring to the ability-- in recent versions-- to do a 3D Add (and/or Subtract) with multiple Objects in one action, as opposed to just two Objects, as in previous versions.  I thought that maybe, using the mulitple option, one could drag a fence around all the Objects they want to Add or Subtract.  After reviewing the Help Documentation, I discovered that we still have to click on one Object at a time, while holding down the Shift-key (way too much time and work for this project).
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Orion20036

Alvin, The Multi Add feature requires that all the objects selected are acis solids, so the blocks would have to be exploded then all the acis objects selected, then choose the sdk menu , the boolean sub menu, then MultiAdd.

Alvin Gregorio

#8
Quote from: Michael Geraghty on April 29, 2014, 01:50:09 PM
Alvin, The Multi Add feature requires that all the objects selected are acis solids, so the blocks would have to be exploded then all the acis objects selected, then choose the sdk menu , the boolean sub menu, then MultiAdd.

Thanks Michael.  I actually didn't know about this Tool, the SDK/Boolean/MultiAdd_VB6 Tool.  I do have it my version-19.2-Deluxe [though I assume it's not useable, because I cannot create ACIS Solids].

I was referring to the regular ol' 3D Boolean/Add (or Subtract) Tool, and how-- in recent versions-- we can select multiple Objects for the Boolean operation by holding down the Shift-key and clicking each Object one-at-a-time.

I will have to try to commit that SDK/Boolean/MultiAdd_VB6 Tool to memory, for possible future use.  I have it now executing on the 10,000 cubes that make up the "holes" in the original-poster's "grate" project request.  It's taking a long time on my little system.  If it's successful, I then intend to 3D Subtract that entity from the larger entity which will make the grate.
    A person would probably do better by breaking up the grate project into at least four sections, doing one-fourth of the operation, copying that to create four entities, then 3D-Adding those four together.  At least that would probably be the case if using a lower-end system, such as mine.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

murray dickinson

I fired up V15 for auld lang syne, and reminded myself that I could do this without blocks or the patterns that later versions have available by drawing the first pic, which is the profile of the bars between holes, array 50 copies at 20mm pitch, close the profile, select all and join polyline, then simple extrude 14mm.  Copy and rotate at 90 degrees, orient them correctly and add.  It took about 7 minutes for this older desktop with 1 Gb RAM to add them, the result is a quarter of the part.

RAB

Thanks for your suggestions.

I did do it by making a section 100 x 20 with notches for the holes then array copying it 10 times for the width and adding them together. Then another 10 along the length to make a grid 1000 x 200 adding 20 x 7 boxes to make 1007 x 200. Then array copying and adding the big sections again.

The multi add tool sounds useful but I dont think I have it in v16.

The end result attached

John R

re: …The MultiAdd tool sounds useful, but I don't think I have it in v16.

It was new in Version 18; look under "3D Modeling".
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Torfinn

Hi John

How long time did it take to make your example from wireframe to hidden line ?? ( just about )

I made a ppm file that will let you change sheetsize, pitch and size of the hole's etc etc, and it take about 10 min to make hidden line  :o + 2-3 min extra for draft render on my system
(In 2D it was taking about 6-7 sec to make this "pattern" of 10 000 holes)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

John R

Hi Torfinn,

I tried the PPM in V21, but killed it after waiting 20 minutes of watching the Windows busy signal spin around.

Trying to 3D Add the pieces only got so far in V16, before it crashed under the heavy load. I'll stick with a 97KB file full of Blocks instead of 11MB beast that may crash at any time.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Alvin Gregorio

#14
Quote from: John R on April 29, 2014, 10:51:46 PM
...
Trying to 3D Add the pieces only got so far in V16, before it crashed under the heavy load. I'll stick with a 97KB file full of Blocks instead of 11MB beast that may crash at any time.

Plus, it occurred to me over the past couple of days:  In real-life I doubt that this walkway surface grate would be supplied in one continuous section.  If I were modeling it, I'd try to duplicate the real-life dimensions as per the manufacturer/fabricator.  Something like 1007mm X 1007mm per section?-- ~2500 holes in each section?
   I would then make that section a Block (and/or XRef) and Insert multiple copies of that.  That way, in the Hidden Line Render I keep bringing up, there are actual lines (and gaps?) between each section of walkway, mimicking the real-live grates; and file-size is kept to a minimum.

FWTW ???  -Alvin
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Torfinn

Quote from: John R on April 29, 2014, 10:51:46 PM
Hi Torfinn,

I tried the PPM in V21, but killed it after waiting 20 minutes of watching the Windows busy signal spin around.

Trying to 3D Add the pieces only got so far in V16, before it crashed under the heavy load. I'll stick with a 97KB file full of Blocks instead of 11MB beast that may crash at any time.

Hi John

You need to be more patient :)

Tested and rebuild the ppm a couple of time, first one using rectangle and thickness, reduild to polyline/ thickness and then finaly now it use box, but about same time to make, if i use 13 mm hole and 20 mm pitch it take about 65 min to make without subtracting the holes, then 32 min for subtract. and 3 min for HL when ACIS Faceting are set to 0.
Tested 1 time to subtract directly by the new checkbox i added and then TC crashed after about 65 min, i guess when it should start to subtract.

Thinking that maybe ACIS Faceting have something to do with it i set that to 0, and the Pitch to 30 ( a huge difference for TC )
On my stationary pc with Win 7 and 8 G memory it takes about 17 min + 8 min to subtract the holes and 2-3 min to HL
On my laptop  WIN 8.1 and 16 G memory it takes about 6 min to make and about 3 min to subtract + 1 min for HL

And just for the record, tested it in V20 with Faceting set to draft and about 20 min with 20/ 30.

So figured out i want to test 13mm and 20mm on the laptop and that was taking about 40 min.

So then i guess it's time for me to change my stationary machine, 66 % more time is a huge difference, espesically for me who dont have the patient for sitting and wait for the "painting get dry" so to speak :)( i had a lot of cold beer in the fridge to day, so i managed :):)

Attach the new ppm and a box.ppm the new file use, set like standard to hole 300 and pith 320, then it only take a couple of sec for TC to make it
( 36 hole ), then select it, go to SI and change the parameters, 50mm hole and 70mm pith dos'nt take long time.
( or change the parameter before inserting )
It's the pitch/ number of holes that TC struggle with

And the filesize was not getting big, about 100 Kb with 13/20, attached a oak material and it increased with 100Kb more, totaly 200 Kb.

But still a heck of time, so i will make it one more time, but only with the part we need, that means Union parts, insted of Subtracting the holes from a sheet.

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

John R

Hi Torfinn,

I tried your original Grate script again, as there was some spare time available. It took over 20 minutes for the script to complete. I saved the file and was amazed to see how small it was; 34KB. Later, when I reopened the file, it took another 20+ minutes for the drawing to open. A Raytrace Full render of the whole thing took less than 2 minutes.

If I explode the grate to an ACIS Solid and save, the file size goes up to 8.61MB, but it now opens in a few seconds; as it doesn't have to rerun the script.

Instead of a Box subtracted from a Box, you should try this with an extruded Rectangle that has the Offset option applied. This will create the hole. I'd say keep the amount down to 500 or less, then make it a Block.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

murray dickinson

I found patterns worked well for this.  I did a section of 1007 x 1007 mm, because, as Alvin noted, it'd be unlikely to be a continuous run.  I drew a box, 14 x 14 x 1000 mm and made a pattern of it at 20mm pitch, then copied the pattern, rotated the copy 90 degrees and intersected the two, because patterns are one object.  The intersection produced the grid punchouts, and the group is square, so I just picked it up and snapped it to the centre of extents of the 1007 x 1007 x 14 block, then subtracted it.  The intersection of the two patterns took about two minutes, the subtraction about the same, this PC is 1.5GHz with 2Gb RAM, not much more than a netbook although 64 bit (should add RAM and see if that hotrods it..).   I haven't used patterns often, and it took me a little while to get my head around it, because the way that it works is a little different to array copies, but this was convincing.

Torfinn

Then i remake it one more time, and for sure, the veeery last time :)

Most boring ppm i ever have made.
Take like a million year to wait for the result in 3D.
And i'm not even work with this metal stuff, but i did noticed that it could be used in a interior or something with ie. 15/ 200 and a wood material, so maybe one day.

Before this i think my house construction was slow ( about 7 sec:)

If i use BooleanUnion it works about 45% quicker, 1007x4007 and 13/ 20 now takes about 35 min on the old slow machine.

And it is about how many holes it should make, if i take Alvin and Murray's example 1007 x 1007 and 13/ 20 it now take 2.25 on the old pc and about 1,5 min on the laptop.
Filesize after explode is about 3 mb lower with union compared to subtract ( 1007 x 1007 sheetsize )

The benefit with the ppm is that if i find out, damn it should be 30/50 or sheetsize should be 3035, i just go to SI and change this parameters and go to get me a cup of coffe when the machine working, when it is like i want, i explode it 1 time to get a ACIS solid if thats what i want :)
And also the ppm calculate for me whats left on all 4 sides, and make the exactly placement of the holes based on the center of the "sheet".

Also made a 2D version, exploded it down to polylines, try'd to make it a region ( for later extrude ), started and have a meeting, and after 3,5 hour i come back, not finish so killed tc and stop that route in the testing for a way to make it work quicker:)

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

murray dickinson

It's always refinement, isn't it?  I just found that TC will handle a 50 x 50 array pattern of the 14 x 14mm block.  Genie had choked on whatever I was doing before, so I must've been doing it wrong....The pattern subtracts as one, less than two minutes. 

Torfinn

Hi Murray

Yes allways:)

I put together the 2D and 3D in one file, added a option to se how many holes we are working with, with 517 holes in 3D it takes about 9-10 sec on the old machine and about 5 on the laptop.

Attach the last file

Torfinn
V20, V21, 2015 > 2024  Platinum
Deluxe 2015/ 16/ 19
RedSDK enabled
Windows 10 Home Premium (20H2/ 19042.1083) 64 bit, 32 GB
NVIDIA Geforce GTX 780m, 1 GB

Dean

Quote from: RAB on April 29, 2014, 04:25:37 AM
Hi

Can anyone help to create the mesh grating for a walkway.
The sheet size is 4007 x 1007 x 14 mm thick with 13 mm square holes on 20 mm pitch. I can create all the strips but to get it to look right in hidden line each strip has to be subtracted from each other to create about 1000 holes! There must be an easy way?

Thanks

Richard
TC Pro v16

Hi Richard,
You have had some great ideas for creating your walkway but does the "grid" have to be a 3d object? (see attachment) You can use a material on a 3d box > wrapped grid with a wrapped grid transparency for a shadow.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0