Can you please explain how did you add the cubes to the assembly?OakLD wrote: ping
I just tried to use the array list feature to have 4 legs/cubes as from the @OakLD example with a set distance between them.realthunder wrote: At the moment, there is LinkArray, and LinkPathArray in Draft workbench that can do these things. These two features are added early before I started working on asm3, as a demonstration of how to use Link in Python. they still create shapes in the background for compatibility with Draft array, so they are not fully optimized like built-in link array. I'll change that in the future. But at least it does what you want. You can use various properties in the array to arrange your object in some pattern, and then toggle ShowElement to True to reveal all the individual array elements as objects, and enables you (or the assembly solver) to freely move those elements.
Using sketch lines is the easiest way, or you can try SketchExport, which allows you to export sketch points and construction lines. You probably should also create a circle for easy locking of the sketch.
Plane alignment can accept more than two plane elements. You can simply select all four top planes and use just one plane alignment constraint as shown below. If those objects are to be fixed with the same orientation, you don't need the side plane alignment either. Simply toggle the LockAngle property of the top plane alignment constraint.2) What about constraints used for blocks? Is it OK, or is there a better set of constraints?
Looks fine to me.3) Did I used Links correctly?
You are using the draft link array. This is different than the normal link array, For draft link array, when you set 'ShowElement' to False, the placement of the individual element follows the pattern you defined in the array object. Only when you set 'ShowElement' to true, can you actually move the array element.project4 wrote: ↑Sun Jul 15, 2018 8:19 pmI just tried to use the array list feature to have 4 legs/cubes as from the @OakLD example with a set distance between them.
The array looked ok and I was able to add it to a newly created assembly, but I was not able to move it anywhere in the assembly.
The move part toolbar stays disabled regardless what I'm selecting...
Code: Select all
<asm3.main> 0.165215 - init_gui.py(14): no solver backend found
Code: Select all
<asm3.sys> 16.466876 - solver.py(286): no assembly found
Yes, it is a link. I guess, that when you set number of link to a value grater then initial 0 (but logically, to 2 or more), it is displayed like this. So the "part" object (Test Cube) is a container for "links" (Link_i0, Link_i1,...).
I did fight with the solver too. The aproach with distance between faces is OK for unique parts, an assembly of several parts. If you have a lot of parts in some plannar arrangement, it is not practical. You need a sketch (a "plan") of the arrangement, which is usually an information (a represented by a drawing) on it's own. In my real little task behind this exersice, I have a plan of 25 concrete bases for a little barn I am building. So I want to place the concrete bases to the given positions in the plan. Furthermore, it's partly irregular, so arrays are not usable either.project4 wrote: ↑Sun Jul 15, 2018 8:03 pmI have a need for similar scenario as well, but can't find a "normal" way to do it.
I thought to point all the cubes in the same direction (that works) and set distances between the faces pointing to each other, but that doesn't really work out, it's impossible to align the cubes to the needed places.
Yes, I did get a lot of solver errors as well. That is a development version after all. I'm sure it's gonna be polished in time