Can you please provide me with help on how to transfer a 3D part model to 2D model?


Here is the command input which was tested on a simple model. After
cutting the volumes with the working plane, it selects the keypoints on the
z=0 plane. Then it selects the lines that are defined by those keypoints
only and then the areas defined by those lines only. The input then
inverts the selected set of areas, lines, and keypoints and deletes them.


/prep7
!
! make a simple volume to use for the test
!
block,,1,,1,-.5,.5
!
! use these commands on a 3D model to get the positive XY plane only
!
wpcsys,,0
csys,0
VSBW,all
vdel,all
KSEL,S,LOC,Z,0,0
KSEL,R,LOC,X,0,1e6 ! increase 1e6 if your model has large x values
LSLK,S,1
ASLL,S,1
asel,inve
lsel,inve
ksel,inve
adel,all
ldel,all
kdel,all
allsel
!
!
FINISH
! /EXIT,NOSAV






! modified input
! For a cylindrical model whose axis is the global Y axis
!
! use these commands on a 3D model to get the positive XY plane only
!
wpcsys,,0
csys,0
VSBW,all
wpro,,,90
vsbw,all
vdel,all
KSEL,S,LOC,Z,-1e-5,1e-5
KSEL,R,LOC,X,0,1e6 ! increase 1e6 if your model has large x values
LSLK,S,1
ASLL,S,1
asel,inve
lsel,inve
ksel,inve
adel,all
ldel,all
kdel,all
allsel
!
!
FINISH
! /EXIT,NOSAV





Show Form
No comments yet. Be the first to add a comment!