Undocumented: RWipeoutEntity

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 4879
Joined: Wed Sep 27, 2017 4:17 pm

Undocumented: RWipeoutEntity

Post by CVH » Fri Mar 07, 2025 6:21 pm

Andrew,

What are the signatures to create an RWipeoutEntity?
What are the methods associated with it.
Thinking of:
  • Checking its proxy
    RWipeoutEntity.getPosition()
    RWipeoutEntity.getBoundaryShapes()
    The setters for these and so on.
Regards,
CVH

CVH
Premier Member
Posts: 4879
Joined: Wed Sep 27, 2017 4:17 pm

Re: Undocumented: RWipeoutEntity

Post by CVH » Sun Mar 09, 2025 9:05 am

Replying on my own question:

Although unlisted in the QCAD API or the Entity Module
  • Generated on Thu Apr 15 2021 and outdated by now!
And although it is said to be a QCAD Professional feature.
  • See QCAD Changelog: 3.31.0 (2024/09/18)

Everything we need can be deducted from the Open Source or 'Community Edition' files at GitHub.
Not really by proxy so a good practice when scripting would be to verify for a minimal release >= 3.31.1.0

Code: Select all

    var frameworkV = getVersionNumber(RSettings.getMajorVersion(), RSettings.getMinorVersion(), RSettings.getRevisionVersion(), RSettings.getBuildVersion());
    var minV = getVersionNumber(3, 31, 1, 0);
    if (frameworkV < minV) {
        // Don't use Wipeout entities
    }
Remind that the drawing order is assigned on creation of a new entity.
Create a Wipeout after the content that must be blanked AND before the content that must be in front of it.
Or rearrange things afterwards by adapting the drawing order.

Regards,
CVH

333onlyhalfevil
Full Member
Posts: 92
Joined: Fri Apr 28, 2023 12:39 pm

Re: Undocumented: RWipeoutEntity

Post by 333onlyhalfevil » Mon Mar 10, 2025 6:23 pm

What exactly is a Wipeout Entity? Something that covers up other entities?

CVH
Premier Member
Posts: 4879
Joined: Wed Sep 27, 2017 4:17 pm

Re: Undocumented: RWipeoutEntity

Post by CVH » Tue Mar 11, 2025 5:35 am

333onlyhalfevil wrote:
Mon Mar 10, 2025 6:23 pm
What exactly is a Wipeout Entity?
Compare it with a solid filled hatch that blanks everything with a lower drawing order.
The difference is that its color is kinda 'unspecified' because it is always in the background color.

Introduced in QCAD 3.31.0, fixed in 3.31.1 ... Other fixes are required.

Regards,
CVH

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”