Repository navigation
Replies: 3 comments 1 reply
|
@puzzbobb, this is great. Thank you for building it, and for telling us. Printing sheets without Revit is something people ask for and nothing open does. Taking it as far as title blocks, schedules and line patterns, and measuring it line by line against Revit's own PDF, DWFx and DXF, is the right way to do it. Does it complement rvt-rs? Yes, and I think it is better as its own project, as you have it. rvt-rs stays the reader: the file, its elements, their geometry and their data. Printing has a large surface of its own (views, annotation, line weights, fonts, paper) and should not have to wait on our releases. What I will do from our side
And an open door: when a gap in the reader is what keeps a print from matching Revit, open an issue with the sheet and the difference, and I will treat it like any other export gap. |
|
@puzzbobb, here is the read of how rvt-prt calls rvt-rs that I promised. The README links rvt-prt under the projects built on rvt-rs. Everything rvt-prt calls is in the stable surface. Where rvt-rs could save you code: rvt-prt reads views and sheets itself, through its own object-graph parser in One question only you can answer: if rvt-prt would use that reader, which of its fields would you need to be stable? That decides what is promoted first, once the centre is measured on more viewports (#1117). Your Snowdon sheet scores could be that measurement. |
|
@DrunkOnJava, thank you for reading it through, and for the README link. Apologies it's been very busy lately and not had much time to spend on this project. What would help rvt-prt most: the saved graphicsYou asked which of rvt-prt's readers I would rather not maintain. The answer is the saved-graphics reader ( Where a first print's time goes. These are Snowdon HVAC with its 6 links, on my machine:
Spreading the saved-graphics decode over four processes halves it, but only on machines with spare cores. Done in Rust, it should come off the critical path on any machine. Why
In what shape. A few flat arrays per model would suit rvt-prt best: points, vertices and triangles, plus per primitive its symbol, kind, style, condition chain and offsets into the arrays. That is what rvt-prt's cache already stores. Python then reads it without building hundreds of thousands of small objects, and that alone took a reprint's reading of the saved graphics from 2.75 s to 1.1 s. rvt-prt would happily take this from The views reader (#2159)Yes, rvt-prt would use
These are missing, and rvt-prt prints them:
On measuring the centre for #1117: Snowdon HVAC (Revit 2025) has 23 placed viewports on 16 sheets, 16 of them with an active crop. rvt-prt places each one by the offset rule, and its prints match Revit's PDF: duct terminals land in place on M101, and M100–M206 score 94–98% ink overlap. So the prints check |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @DrunkOnJava loving your project, the rapid advancement is difficult to keep up with! On the back of the work you've done, one thing I've wanted to do for a long time is print sheets outside of revit. This seemed like too big a feature to add to your project in a PR but I've created a project that uses yours to build the meshes for the prints. The project might be of interest and be good to know your thoughts on whether this is a feature you think would compliment your project?
https://github.com/puzzbobb/rvt-prt
All reactions