I installed the Windows GUI version last night and starting going through the documentation to teach myself how to write the context-free grammar and draw.
While going throug the part on "Path declaration", I tried running the one example:
path iso {
ARCTO(0, 1, 0.5)
ARCTO(0, 0, 0.5)
CLOSEPOLY()
STROKE() [s 2 0.5]
STROKE(CF::IsoWidth) [s 2 0.5 y -0.75]
}
For both of the STROKE lines, the script fails to parse with an error message like "Cannot mix replacements and something something" (I'm at work, but I can post the exact message when I get home if that isn't enough to help.) I've tried running it here at work, using the Linux version, and the above parses and paints out fine.
Any thoughts?
Cannot mix replacements and...
Moderators: MtnViewJohn, chris, mtnviewmark
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Cannot mix replacements and...
I can't reproduce this. Do you get the error message "Cannot mix path elements and replacements in the same container"?
-
- Posts: 2
- Joined: Fri Mar 28, 2014 12:49 am
Re: Cannot mix replacements and...
Yep, that's the message. I'm running version 3.0.6 (v35) - 64-bit on a Windows 7 machine. Here's the full message:
Reading rules file
Restarting as a version 3 design
Error - Cannot mix path elements and replacements in the same container
But yeah, if you can't reproduce it, then maybe I'll try reinstalling or just running the CLI.
Reading rules file
Restarting as a version 3 design
Error - Cannot mix path elements and replacements in the same container
But yeah, if you can't reproduce it, then maybe I'll try reinstalling or just running the CLI.
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Cannot mix replacements and...
I fired up my 64-bit Win7 VM and still didn't see it. Does it happen if you try it in the CLI version?
- MtnViewJohn
- Site Admin
- Posts: 882
- Joined: Fri May 06, 2005 2:26 pm
- Location: Mountain View, California
- Contact:
Re: Cannot mix replacements and...
Also, if you click on the error message it highlights the error in the editor. What line is highlighted?