How can I create a regular 2D array of an object in QCAD?
Array, matrix or pattern
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Array, matrix or pattern
From a QCAD user:
Re: Array, matrix or pattern
While you can of course simply copy an object several times using an equal distance, the most convenient way is to use a block array:
Creating a Block from Your Object
- Select the entities of your object
- Choose Block > Create Block from Selection
- Click a reference point
- Enter a name for your block (e.g. "Window", "Pillar", "Screw", etc)
Turning a Block into an Array
- Keep your block selected and turn it into an array (alternatively, insert your block as a new array)
- View > Property Editor
- Adjust the number of columns, rows and the column and row spacing:
Creating a Block from Your Object
- Select the entities of your object
- Choose Block > Create Block from Selection
- Click a reference point
- Enter a name for your block (e.g. "Window", "Pillar", "Screw", etc)
Turning a Block into an Array
- Keep your block selected and turn it into an array (alternatively, insert your block as a new array)
- View > Property Editor
- Adjust the number of columns, rows and the column and row spacing:
Re: Array, matrix or pattern
If I create an array from a block, it behaves like a block itself: I cannot break the array without the initial block being exploded also. I thought it would be possible to break the array to keep the individual blocks generated ??
JJ Win7 pro-64
Re: Array, matrix or pattern
J-J: That would make a lot of sense, yes. You can patch your version to explode block arrays into individual block references:
https://raw.githubusercontent.com/qcad/ ... Explode.js
This file replaces file scripts/Modify/Explode/Explode.js of your QCAD installation. This should be considered experimental. Please back up the original Explode.js in case there are any problems.
https://raw.githubusercontent.com/qcad/ ... Explode.js
This file replaces file scripts/Modify/Explode/Explode.js of your QCAD installation. This should be considered experimental. Please back up the original Explode.js in case there are any problems.
Re: Array, matrix or pattern
Hi Andrew,
I replaced the script and on the same test, that seems to work OK
Thanks
I replaced the script and on the same test, that seems to work OK
Thanks
JJ Win7 pro-64
Re: Array, matrix or pattern
Excellent, thanks for the feedback. This will very likely be the new behavior of the explode tool for the next release.