Handling splinters
4 posts
• Page 1 of 1
Handling splinters
Are there any effective methods of removing splinters that are created as a result of webcutting a complex geometry? Consider the geometry that is generated from the journal file given below. A splinter is created (surface ID 56) in volume 1 containing two curves (curve ID 39 & 87). Note that a splinter is not created on the bottom (flat) section of the fin.
Thanks,
Markus
reset
undo on
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about X include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
# Split front section of volume:
webcut volume 1 with plane vertex 27 vertex 28 vertex 24
# Split the fins from rest of cylinder:
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
Thanks,
Markus
reset
undo on
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about X include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
# Split front section of volume:
webcut volume 1 with plane vertex 27 vertex 28 vertex 24
# Split the fins from rest of cylinder:
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
- pirom
- Posts: 11
- Joined: Tue May 14, 2013 1:18 pm
Re: Handling splinters
Try this approach. This avoids the creation of the sliver surface:
reset
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about x include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
#webcut with a circle
create surface circle vertex 39 40 37
webcut volume 1 with sheet extended surface 47
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
#these curve don't exactly
merge curve 38 95 force
merge all
find overlap volume all
reset
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about x include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
#webcut with a circle
create surface circle vertex 39 40 37
webcut volume 1 with sheet extended surface 47
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
#these curve don't exactly
merge curve 38 95 force
merge all
find overlap volume all
csimsoft
- csimsoft Moderator
- Posts: 264
- Joined: Tue Feb 14, 2012 5:59 pm
- Location: American Fork, UT
Re: Handling splinters
Thank you for your quick response.
Using the script provided, there is still a sliver in Volume 1 (surface 58). Consider trying to create a mesh from this volume using the modified script below. Two surface meshes are created on the top fin, the volume of the fin is meshed and then the surface of the cylinder is attempted to be meshed. However, Trelis crashes when running this script (no error is reported). Any ideas?
Regards,
Markus
reset
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about x include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
#webcut with a circle
create surface circle vertex 39 40 37
webcut volume 1 with sheet extended surface 47
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
#these curve don't exactly
merge curve 38 95 force
merge all
# Create mesh:
surface 27 size auto factor 7
mesh surface 27
surface 28 size auto factor 5
mesh surface 28
volume 9 size auto factor 5
mesh volume 9
surface 57 size auto factor 1
mesh surface 57
Using the script provided, there is still a sliver in Volume 1 (surface 58). Consider trying to create a mesh from this volume using the modified script below. Two surface meshes are created on the top fin, the volume of the fin is meshed and then the surface of the cylinder is attempted to be meshed. However, Trelis crashes when running this script (no error is reported). Any ideas?
Regards,
Markus
reset
# Create first brick:
brick x 1 y 13 z 102
# Create cutting brick:
brick x 1 y 2.366025 z 100
rotate volume 2 angle 60 about x include_merged
move volume 2 location 0 6.5 50
subtract volume 2 from volume 1
# Create inner cylinder and unite:
create cylinder height 150 radius 5
unite volume 1 3
# Create outer cylinder and subtract:
create cylinder height 150 radius 10
subtract volume 1 from volume 4 keep
delete volume 4
#webcut with a circle
create surface circle vertex 39 40 37
webcut volume 1 with sheet extended surface 47
webcut volume 1 with cylinder radius 5 axis z
imprint all
merge all
#these curve don't exactly
merge curve 38 95 force
merge all
# Create mesh:
surface 27 size auto factor 7
mesh surface 27
surface 28 size auto factor 5
mesh surface 28
volume 9 size auto factor 5
mesh volume 9
surface 57 size auto factor 1
mesh surface 57
- pirom
- Posts: 11
- Joined: Tue May 14, 2013 1:18 pm
Re: Handling splinters
Thank you Aaron, much appreciated.
- pirom
- Posts: 11
- Joined: Tue May 14, 2013 1:18 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests