Jump to content

Encrypting/Securing Hatch Patterns


BiGBang

Recommended Posts

Hi folks. I'm a programmer, new to this forum, and have not had much experience using AutoCAD.

One of my friends has written some hatches for AutoCAD and is interested in selling them.He asked me if that's possible to deploy the hatches without letting the end user access the source (at least not in plain text).

As far as I could find out, AutoCAD saves the hatches in a .ptn file in plain text. Is there anyway that I can alter the way AutoCAD accesses custom user hatches and at least make it not very accessible for his customers?

Thanks in advance.

Link to comment
Share on other sites

Is there anyway that I can alter the way AutoCAD accesses custom user hatches and at least make it not very accessible for his customers?

Thanks in advance.

 

AFAIK, there is no way to load an "encrypted" hatch pattern.

But even if you could do this, the hatch pattern itself, once in a DWG file is easily copied, shared, etc., and on top of that, the raw data that makes up the hatch pattern definition is stored in the drawing and it's fairly trivial to extract this data. See: GETPAT.LSP found here: http://www.turvill.com/t2/free_stuff/index.htm

Link to comment
Share on other sites

People will still buy your hatches it just a matter of time as to when they turn up every where, its a big world you may still make a lot of money.

 

It is still illegal to give away something that is not yours when you sell the hatch patterns you are buying a right to use, all software is done this way you actually don't own your Autocad you own a right to use. Read the licence agreement.

 

Put a copyright notice with the sale hope for the best.

 

I had a personal involvement in a product around $100,000 investment best guess 12 months ahead of the chinese to make money before they flooded the market with copies.

Link to comment
Share on other sites

Put a copyright notice with the sale hope for the best.

BIGAL, that's definitely true. But copyright doesn't mean **** in Iran. So it's best to secure it as much as you can or forget about making money. ($100,000 investment in software here without highly secured locks (Aladdin hardlocks, Sentinel, ...) => at most $100,000 sale!

Anyway, thanks for sharing your knowledge.

Link to comment
Share on other sites

Further to rkmcswain's remarks - all comments in .PAT files are ignored when loaded to a .DWG or .RVT along with any pattern description.

The only identifying text string you could possibly exploit is the hatch pattern name itself (just might work :wink: for AutoCAD - Revit allows renaming while loading :mrgreen:)

 

 

hth

Hugh Adamson

www.hatchkit.com.au

Link to comment
Share on other sites

What if the custom hatch patterns were buried in a lisp routine that was then compiled (not sure if "compiled" is the correct word to use here but you know what I mean)?

Link to comment
Share on other sites

What if the custom hatch patterns were buried in a lisp routine that was then compiled (not sure if "compiled" is the correct word to use here but you know what I mean)?

 

Still, once the hatch pattern is in the drawing, it's easily shared and/or extracted back to a PAT file.

Link to comment
Share on other sites

What if all the hatches were exploded :shock:

 

Pretty difficult to make your customers explode hatches created from patterns they buy from you... :wink:

 

I suppose you could write your own custom hatching routines that created custom ARX objects instead of hatch entities...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...