FPRISM and Status Codes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-10 05:35 PM
FPRISM_ endMatl, endMatl, endMatl, endMatl, 5, offsetDist1, 45,offsetDist1, 0, 0, 15, 0, ZZYZX, 15, -B, ZZYZX, 15, -B, 0, 15, 0, 0, 15is missing an edge?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-11 12:41 PM
definitively BUG!
I checked for angle parameter of FPrism_ & discovered that when you replace 45 (yours) with some other values contour line appears. But after some more plays with this mystery, have find solution for all values: "generate 3D model & after press CTRL+SHIFT+R from Keyboard" - missed line appears.
note:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-11 12:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 10:08 AM
FPRISM_ endMatl, endMatl, endMatl, endMatl,
5, offsetDist1, 45,offsetDist1,
0, 0, 15,
0, ZZYZX, 15,
-B, ZZYZX, 15,
-B, 0, 15,
0, 0, -1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 10:51 AM
shaun wrote:No, status code value -1 doesn't close main prism contours, it is used for holes!
The status code to close the prism should be "-1"
GDL wrote:
si=-1 is used to define holes directly into the prism. It marks the end of the contour and the beginning of a hole inside of the contour. It is also used to indicate the end of one hole's contour and the beginning of another. Coordinates before that value must be identical to the coordinates of the first point of the contour/hole. If you have used the -1 mask value, the last mask value in the parameter list must be -1, marking the end of the last hole.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 11:00 AM
...
n, thickness, angle, hill_height,
...
You have assigned Offsetdist1 to both thickness & hill_height but hill_height < thickness. Try reducing the hill_height and your edge should reappear.
Cheers
Archicad 27 / Mac Studio M1 Max - 32 GB / LG24" Monitors / 14.5 Sonoma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 12:02 PM
Vitruvius wrote:You found the bug.
You have assigned Offsetdist1 to both thickness & hill_height but hill_height < thickness. Try reducing the hill_height and your edge should reappear.
Cheers
Hill_heigth=thickness and because of overlaping some times they are shown or not. And that's why Ctrl+Shift+R corrects "error".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 01:48 PM
Z.Bauer wrote:The use of "-1" is correct, I think.shaun wrote:No, status code value -1 doesn't close main prism contours, it is used for holes!
The status code to close the prism should be "-1"
See below.
GDL wrote:
si=-1 is used to define holes directly into the prism. It marks the end of the contour and the beginning of a hole inside of the contour. It is also used to indicate the end of one hole's contour and the beginning of another. Coordinates before that value must be identical to the coordinates of the first point of the contour/hole. If you have used the -1 mask value, the last mask value in the parameter list must be -1, marking the end of the last hole.
I mean, it might be different from what the manual says, but it still works.
You can use it like that - even if no hole is defined after the -1 status code.
Or you can leave the last line, meaning the FPRISM will have 4 nodes, and ArchiCAD will automatically close the polygon.
Still, the missing edge could be a bug.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 02:57 PM
laszlonagy wrote:Is using of "-1", in context of this topic, really works by you (I'm not meaning that it can be used without holes)? Beacause by me no difference!
The use of "-1" is correct, I think.
I mean, it might be different from what the manual says, but it still works.
Still, the missing edge could be a bug.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2006-03-13 03:06 PM
Z.Bauer wrote:It seems like -1 would be the correct syntax, but 16 yields a correct result more often than -1 did (since with each Rebuild, that last edge seems to disappear or reappear!)laszlonagy wrote:Is using of "-1", in context of this topic, really works by you (I'm not meaning that it can be used without holes)? Beacause by me no difference!
The use of "-1" is correct, I think.
I mean, it might be different from what the manual says, but it still works.
Still, the missing edge could be a bug.