Hotline is cold
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-25 03:57 PM - last edited on 2023-05-24 11:57 AM by Rubia Torres
2009-03-25
03:57 PM
In GDL-manual we have 3d scripts:
HOTLINE
HOTLINE x1, y1, z1, x2, y2, z2
A status line segment between the points P1 (x1,y1,z1) and P2 (x2,y2,z2).
HOTARC
HOTARC r, alpha, beta
A status arc in the x-y plane with its center at the origin from angle alpha to beta with a radius of r.
Alpha and beta are in degrees.
Should they work like slabtool in 3d window?
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-25 06:57 PM
2009-03-25
06:57 PM
Your subject line made me smile. 🙂
Cheers,
Karl
Pertti wrote:I don't understand - the hotline and hotarc just let you snap to them. What does this have to do with the slab tool? If you are hoping for intelligence beyond snapping, then no.
Should they work like slabtool in 3d window?
Cheers,
Karl
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-27 04:29 AM
2009-03-27
04:29 AM
If you use the syntax listed in the reference manual, the lines aren't hot at all. I believe they need a unique identifier as in:
hotline x0, y0, z0, x1, y1, z1, iHotline
where iHotline is a unique (integer) index.
At least that's what I found with a bit of experimentation.
hotline x0, y0, z0, x1, y1, z1, iHotline
where iHotline is a unique (integer) index.
At least that's what I found with a bit of experimentation.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-27 05:05 AM
2009-03-27
05:05 AM
Pertti wrote:They won't allow you to stretch them like the edge of a slab with the pet palette.
Should they work like slabtool in 3d window?
HOTSPOTS can be stretchy but HOTLINES and HOTARCS can only be snapped to as Karl said.
They can be made to adjust if you add hotspots to the ends and/or radius and using those adjustable values for the hotline or hotarc.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-27 01:23 PM
2009-03-27
01:23 PM
The htm version of GDL Reference Guide is more up to date than the pdf one.
from htm version :
HOTLINE x1, y1, z1, x2, y2, z2, unID
HOTARC r, alpha, beta, unID
unID must be unique for each HOTLINE.
from htm version :
HOTLINE x1, y1, z1, x2, y2, z2, unID
HOTARC r, alpha, beta, unID
unID must be unique for each HOTLINE.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2009-03-28 06:59 AM
2009-03-28
06:59 AM
Thank´s for help. What I ment by" working as a slab tool" was simply that the slab provides a hotline to every side. And Karl, keep on smiling, because when I read "Polygon Operations Extension" in GDL Manual:
dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "OffsetEdge", "poly1", resPolyIDArray)
Translates an edge of a polygon perpendicularly to its direction. The edge index and translation offset must be set with an "OffsetParams" command. The result will be regularized.
dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "ResizeContour", "poly1", resPolyIDArray)
Enlarges or shrinks a contour of a polygon. The contour index and translation offset must be set with an "OffsetParams" command. The result will be regularized."
Smile everybody. This needs a separate thread I guess.
dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "OffsetEdge", "poly1", resPolyIDArray)
Translates an edge of a polygon perpendicularly to its direction. The edge index and translation offset must be set with an "OffsetParams" command. The result will be regularized.
dim resPolyIDArray[]
nPgon = CALLFUNCTION (ch, "ResizeContour", "poly1", resPolyIDArray)
Enlarges or shrinks a contour of a polygon. The contour index and translation offset must be set with an "OffsetParams" command. The result will be regularized."
Smile everybody. This needs a separate thread I guess.
- AC-24 FIN - WIN 10 - HP Zbook -
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.
“A winner is just a loser who tried one more time.”
George M. Moore, Jr.