Author Topic: Calculate side-UCSs from UCS?  (Read 1294 times)

0 Members and 1 Guest are viewing this topic.

Peter2

  • Swamp Rat
  • Posts: 653
Calculate side-UCSs from UCS?
« on: October 10, 2018, 06:05:41 AM »
(Maybe that's not that big stuff, but if someone has already a solution it would be fine.)

Semi - solved: see below
-------------
I have a UCS called "myUCS"; it is a moved and (z-)rotated WCS; z-axis is still going "to the top" (upwards, to the zenith)
This UCS is a kind of "Top-view" UCS, now I need the sub-ucs (derivated) UCS like

- view from left
- view from right
- ...front
- ...back

So I "only" need to modify the DXF-codes 10(?), 11 and 12 - replace value A with negative value B and so on.
But nevertheless - if somebody has a code snippet it would be great.

Thanks!

*******************************
Edit / Solution:
here are the GC-codes for these UCS. You can see the changing of GC11 and GC12

Code - Auto/Visual Lisp: [Select]
  1.  
  2. top
  3.  (10 0.0 0.0 0.0) (11 1.0 0.0 0.0)      (12 0.0 1.0 0.0) (79 . 0) (146 . 0.0))
  4.  
  5. front
  6.  (10 0.0 0.0 0.0) (11 1.0 0.0 0.0)      (12 0.0 0 1.0) (79 . 0) (146 . 0.0))
  7.  
  8. left
  9.  (10 0.0 0.0 0.0) (11 0 -1.0 0)         (12 0.0 0 1.0) (79 . 0) (146 . 0.0))
  10.  
  11. back
  12.  (10 0.0 0.0 0.0) (11 -1.0 0 0)         (12 0.0 0 1.0) (79 . 0) (146 . 0.0))
  13.  
  14. right
  15.  (10 0.0 0.0 0.0) (11 0 1.0 0.0)        (12 0 0.0 1.0) (79 . 0) (146 . 0.0))
  16.  

« Last Edit: October 10, 2018, 07:23:44 AM by Peter2 »
Peter

AutoCAD Map 3D 2023 German (so some technical terms will be badly retranslated to English)
BricsCAD V23