Search the Community
Showing results for tags 'array'.
-
I would like to see a radial array feature that is fully procedural, meaning, you create the object you want to array and have instances created along the a set midpoint. That way, you can modify the original shape that is being arrayed and have all instances update accordingly. If I had to do this now, it would require a lot of manual adjustments. That would make creating graphics like these a lot less time-consuming and more enjoyable:
-
Hi, I needed to create arrays of images to show a distribution. Say you wanted to display the amount of male to female workers, or, like in my case the number of nominations in relation to the numbers of wins. So, I wrote a simple python script to do it. It's using graphicsmagick (http://www.graphicsmagick.org/) for the actual image stuff. It works like size: You give it a number of images, and specify how many of these images you want. By default it will arrange those images in a square grid, but you can also specify the number of columns you want to produce different layouts. You can specify the size of a cell and the border around it. It will create a single output file using this data, which you can then use in your Affinity tools. Right now it displays the images in order, but I could change it to display them randomly if needed. #!/usr/local/bin/python3 import math import os # the number per image type counts = [94,199] # the actual filenames to use images = ["A.png", "B.png"] # what should be produced outFilename = "out.png" # size of the cells cellWidth = 100 cellHeight = 100 # number of columns. If set to zero, it will create # a layout with the same number of rows and columns. columns = 0 # ---------------------------------- # Implementation # # Basically, it creates list of files for # graphicsmagick's (http://www.graphicsmagick.org/montage.html) # montage tool. # # On a mac you can use # brew install graphicsmagick # in a terminal to install graphicsmagick if you don't have it already # total = 0 for count in counts: total += count if ( columns == 0 ): columns = math.ceil( math.sqrt( total ) ) rows = math.ceil( total / columns ) totalRemaining = total curType = 0 typeRemaining = counts[curType] params = "" while totalRemaining > 0: params += images[curType] + " " totalRemaining = totalRemaining - 1 typeRemaining = typeRemaining - 1 if typeRemaining == 0: # switch to next image curType = curType + 1 typeRemaining = counts[ min(curType, len(images)-1 )] # call graphicsmagick to do the hard work for us: os.system( f'gm montage -background none -geometry {cellWidth}x{cellHeight}+10+10 -tile {columns}x{rows} {params} {outFilename}') Maybe it's something you can find use for. If you're on a mac, you can use on the command line to install it. I hope this is in the correct forum, tand that somebody might find this useful. Thanks, DasLenny
- 1 reply
-
- python
- visualization
-
(and 1 more)
Tagged with:
-
Hi, How can I array an object in Designer - reproduce a number of units of the same object at the same distance?
-
Hello dears, these weeks I tried using Affinity Designer as my drafting software for architectural drawing. It's been a pleasure until I hardly needed tangent and orthogonal snapping. AD reveals to be a very nice software to make nice looking drawings fast, but it lacks some fundamental functions which would definetly speed up architectural and other workflows. The tools I hardly suggest to add into next versions of Affinity are: Snap to tangent and orthogonal points, well all the Autocad and Rinocheros snaps would just be fantastic. Transforms based on starting and reference point (example: rotate a line using a custom pivot and a custom reference point which can be snapped during the operation); Arrays: the ability to copy things along a curve and/or in a specified direction ad certain distances (following rotation or not and to add some more coolness: with a scale variation based on a custom profile); Grid copy: same as Arrays but based on a grid. Well, measures would also be a great add for AD in the product design field, but It'd be a to much specific need probably. I'd be so great to have such facilities.
-
- snap
- transforms
-
(and 1 more)
Tagged with:
-
It would be nice a feature like AutoCAD POLAR ARRAY, so you can place object/selections around a specified point, or along a specified path. The essential options are : number of objects, angle between objects, radius of array, rotate objects ON/OFF. Thank you :)
-
My suggestion would be create an array tool (its the kind of tool you find in a 3D app) with options like radial array, square array, distribution envelopes affecting things like scale, rotation, distance etc.
-
Is there an equivalent method for Illustrator's blend (objects) along path? Perhaps the Power Duplicate does this? But does it work along a path? And if so, are the duplicated objects still linked to the original (ie, edits to one of these shapes updates the duplicated objects)? PS: As a designer for CNC/laser cutting, it's rather difficult to evaluate whether this is worth purchasing without a trial version.