[solved] Opaque Fill
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
[solved] Opaque Fill
I have an architectural drawing that has a basin on the wall with boxing below it along the wall/floor junction.
Rather than snip out the portion of the boxing that would be hidden by the basin above, can I give the basin outline an opaque fill so that the boxing is automatically hidden if I slide the basin along the wall or move it to another wall with boxing beneath?
Rather than snip out the portion of the boxing that would be hidden by the basin above, can I give the basin outline an opaque fill so that the boxing is automatically hidden if I slide the basin along the wall or move it to another wall with boxing beneath?
Last edited by dickbob on Tue May 25, 2021 8:39 am, edited 1 time in total.
Re: Opaque Fill
With the hatch tool, you can also create solid fills:
https://qcad.org/doc/qcad/latest/refere ... mSelection
https://qcad.org/doc/qcad/latest/refere ... mSelection
Re: Opaque Fill
Sorry, but I can't seem to get this to work for me as I want.
I'm made sure the shape is closed, selected it, then Draw > Hatch > Hatch from Selection (HA) then selected Solid Fill which then fills the shape with the Layer colour. I then select the hatch block and set the colour to White with the Property Editor.
When editing the drawing all I see is the white shape, which is not ideal but when printing it prints as a solid black shape.
Am I missing something or is there no solution to my problem?
I'm made sure the shape is closed, selected it, then Draw > Hatch > Hatch from Selection (HA) then selected Solid Fill which then fills the shape with the Layer colour. I then select the hatch block and set the colour to White with the Property Editor.
When editing the drawing all I see is the white shape, which is not ideal but when printing it prints as a solid black shape.
Am I missing something or is there no solution to my problem?
Re: Opaque Fill
Hi,
Change the Alpha value of the Hatch entity in the Property Editor.
Regards,
CVH
Change the Alpha value of the Hatch entity in the Property Editor.
Regards,
CVH
- Attachments
-
- HatchAlpha.png (9.84 KiB) Viewed 6387 times
Re: Opaque Fill
To allow white on white printing, please change your preferences as described here:
https://qcad.org/rsforum/viewtopic.php?p=24336#p24332
https://qcad.org/rsforum/viewtopic.php?p=24336#p24332
Re: Opaque Fill
Thank you CVH, the alpha value is already 255.
Thank you Andrew, I did manage to get that white on white printing working on a new, fresh, simple, drawing from first principles. I just can't get it to work with my drawing. I guess I must have something screwed up in the layering in my ignorance of how to structure a QCAD drawing -- frustrating!
Thank you Andrew, I did manage to get that white on white printing working on a new, fresh, simple, drawing from first principles. I just can't get it to work with my drawing. I guess I must have something screwed up in the layering in my ignorance of how to structure a QCAD drawing -- frustrating!
- petevick
- Premier Member
- Posts: 392
- Joined: Tue May 19, 2020 9:34 am
- Location: North Norfolk coast UK
Re: Opaque Fill
What CVH meant is that you reduce the alpha value to increase the transparency, or opacity, of the color
Pete Vickerstaff
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Linux Mint 21.2 Cinnamon, Qcad Pro 3.29.6
Re: Opaque Fill
Thanks Pete, I did understand what CVH meant but I did an experiment just to confirm that 255 = totally opaque and 0 = totally transparent so 255 is what I need and what the hatch block was originally set to when I created it.
I think, Andrew, I've managed to workout the settings I need to get it to work as I want. Drawing Preferences > Printing > Colors > Full Color or Grayscale with the Background color set to White. Setting the Color Mode to Black / white prints my filled blocks as black.
It prints ok but I've now got all these white blocks on the drawing as I'm working on the.
Thank you for your offer to review my drawing (please don't laugh), I will take you up on that -- please see attached.
I think, Andrew, I've managed to workout the settings I need to get it to work as I want. Drawing Preferences > Printing > Colors > Full Color or Grayscale with the Background color set to White. Setting the Color Mode to Black / white prints my filled blocks as black.
It prints ok but I've now got all these white blocks on the drawing as I'm working on the.
Thank you for your offer to review my drawing (please don't laugh), I will take you up on that -- please see attached.
- Attachments
-
- ground floor v4.dwg
- (38.89 KiB) Downloaded 287 times
Re: Opaque Fill
@ dickbob,
just for clarification. A proper CAD drawing would contain the hidden parts as a dashed line like this example:
What you are trying to do is to use features from a Graphical software in a CAD software - that will only work to a certain point. I don't think it will ever work with the chosen color black or white just because the Model_Space has a black background and the Print Preview has a white background. What ever the QCAD preferences are to deal with black on black or white on white has to fail in one or another way. That's fact!
Howsoever - to come close to your goal you could use colors for the hatch like "Light gray" or something similar and the result could be something like this:
in Model_Space ...
... and in Print Priview
If the hatch is still hiding lines you can play with "Bring to Front" or "Send to Back". BTW: I kept Alpha to 255 ...
just for clarification. A proper CAD drawing would contain the hidden parts as a dashed line like this example:
What you are trying to do is to use features from a Graphical software in a CAD software - that will only work to a certain point. I don't think it will ever work with the chosen color black or white just because the Model_Space has a black background and the Print Preview has a white background. What ever the QCAD preferences are to deal with black on black or white on white has to fail in one or another way. That's fact!
Howsoever - to come close to your goal you could use colors for the hatch like "Light gray" or something similar and the result could be something like this:
in Model_Space ...
... and in Print Priview
If the hatch is still hiding lines you can play with "Bring to Front" or "Send to Back". BTW: I kept Alpha to 255 ...
Work smart, not hard: QCad Pro
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Win10/64, QcadPro, QcadCam version: Current.
If a thread is considered as "solved" please change the title of the first post to "[solved] Title..."
Re: Opaque Fill
Thanks for your insight Husky.