RE: Aligning parts using rotation scripts
2021-12-16, 8:53 (This post was last modified: 2021-12-16, 9:08 by David Manley.)
2021-12-16, 8:53 (This post was last modified: 2021-12-16, 9:08 by David Manley.)
5. Two Part Rotation Actual Usage
Enough with the simplistic example. Let’s see how to use the script in a more realistic way using an actual model.
Figure 17 illustrates a partial build of set 9748-1. The four rotation and alignment parts required for the two part rotation are highlighted. The two red pins are required to achieve the rotation but are not part of the model so they will be deleted once the rotation is complete.
Figure 17 – Two Part Rotation, R2D2 #1
Figure 18 shows the selection of the four rotation and alignment parts.
Figure 18 – Two Part Rotation, R2D2 #2
Figure 19 illustrates all 6 “parts” selected, immediately prior to invoke the Rotate Two parts script.
Figure 19 – Two Part Rotation, R2D2 #3
Figure 20 illustrates the two positions where the rotated parts can be aligned.
Figure 20 – Two Part Rotation, R2D2 #4
Figure 21 shows the model after the first alignment position was selected and the superfluous alignment and rotation parts (the red pins) deleted. Note the liftarms at the rear still need to be aligned …
Figure 21 – Two Part Rotation, R2D2 #5
… which can be achieved using the single part alignment, as illustrated in Figure 22. Once again, additional parts have been added to the model for rotation/alignment purposes.
Figure 22 – One Part Rotation, R2D2 #6
Figure 23 shows the placement of the liftarms after completion of the one part rotation and the deletion of the extra red rotation/alignment pins.
Figure 23 – One Part Rotation, R2D2 #7
This sample model shows how the rotation scripts support a point-and-click approach within LDCad for aligning parts, thus avoiding the need for a user to have to compute rotation angles
Enough with the simplistic example. Let’s see how to use the script in a more realistic way using an actual model.
Figure 17 illustrates a partial build of set 9748-1. The four rotation and alignment parts required for the two part rotation are highlighted. The two red pins are required to achieve the rotation but are not part of the model so they will be deleted once the rotation is complete.
Figure 17 – Two Part Rotation, R2D2 #1
Figure 18 shows the selection of the four rotation and alignment parts.
Figure 18 – Two Part Rotation, R2D2 #2
Figure 19 illustrates all 6 “parts” selected, immediately prior to invoke the Rotate Two parts script.
Figure 19 – Two Part Rotation, R2D2 #3
Figure 20 illustrates the two positions where the rotated parts can be aligned.
Figure 20 – Two Part Rotation, R2D2 #4
Figure 21 shows the model after the first alignment position was selected and the superfluous alignment and rotation parts (the red pins) deleted. Note the liftarms at the rear still need to be aligned …
Figure 21 – Two Part Rotation, R2D2 #5
… which can be achieved using the single part alignment, as illustrated in Figure 22. Once again, additional parts have been added to the model for rotation/alignment purposes.
Figure 22 – One Part Rotation, R2D2 #6
Figure 23 shows the placement of the liftarms after completion of the one part rotation and the deletion of the extra red rotation/alignment pins.
Figure 23 – One Part Rotation, R2D2 #7
This sample model shows how the rotation scripts support a point-and-click approach within LDCad for aligning parts, thus avoiding the need for a user to have to compute rotation angles