add some more schematic manipulation script examples in developer_info.html
|
|
@ -1948,7 +1948,6 @@ foreach i [xschem selected_set] { xschem setprop instance $i L 3}
|
|||
xschem unselect_all
|
||||
</td>
|
||||
<td><img src="developer_info_16.png"></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
|
@ -1977,7 +1976,6 @@ xschem setprop instance [lindex [xschem selected_set] 1] lab VPP
|
|||
|
||||
</td>
|
||||
<td><img src="developer_info_18.png"></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
|
|
@ -2003,10 +2001,67 @@ xschem setprop instance Vvdd spice_ignore short
|
|||
|
||||
</td>
|
||||
<td><img src="developer_info_20.png"></td></tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<li> <h3>Move a selected portion of the schematic</h3><br></li>
|
||||
<table style="width:95%;">
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># After selecting some objects...
|
||||
</td>
|
||||
<td><img src="developer_info_21.png"></td></tr>
|
||||
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># ... We move them by some X / Y quantities.
|
||||
xschem move_objects 100 0
|
||||
</td>
|
||||
<td><img src="developer_info_22.png"></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
<li> <h3>Rotate a selected portion of the schematic</h3><br></li>
|
||||
<table style="width:95%;">
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># After selecting some objects ...
|
||||
</td>
|
||||
<td><img src="developer_info_23.png"></td></tr>
|
||||
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># ... We rotate them clockwise around point 1100,-800 (shown with the red cross)
|
||||
xschem rotate 1100 -800
|
||||
</td>
|
||||
<td><img src="developer_info_24.png"></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
<li> <h3>Flip a selected portion of the schematic</h3><br></li>
|
||||
<table style="width:95%;">
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># After selecting some objects as before ...
|
||||
# ... We flip them horizontally around point 1100,-800 (shown with the red cross)
|
||||
xschem flip 1100 -800
|
||||
</td>
|
||||
<td><img src="developer_info_25.png"></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
<li> <h3>Rotate in place a selected portion of the schematic</h3><br></li>
|
||||
<table style="width:95%;">
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># After selecting some objects ...
|
||||
</td>
|
||||
<td><img src="developer_info_26.png"></td></tr>
|
||||
|
||||
<tr><td width="60%">
|
||||
<pre class="code"># ... We rotate clockwise each object around their origins
|
||||
# the same command 'flip_in_place' is available for flipping horizontally.
|
||||
xschem rotate_in_place
|
||||
</td>
|
||||
<td><img src="developer_info_27.png"></td></tr>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- end of slide -->
|
||||
|
|
|
|||
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
After Width: | Height: | Size: 4.3 KiB |