[Therion] Metapost exit code -- 2

Saeid Bostandoust ssbostan at yahoo.com
Sun Jul 2 18:02:58 CEST 2017


Im resolve a problem with a simple hack...1- duplicate topodroid scrap with topodroid survey.sql file now we have more than one scraps with same draw.2- split a cave into small scraps on locations near to the stations and just wall around them.3- remove not needed points, lines, areas and etc.4- now we have a project with all of stations and more than one scraps with draw.After that metapost works good and export done without any errors but for now a scrap line intersects itself warning occurs and i look for solution for resolve it.
This is a best simple way i think for split a sketch and your drawing...Thanks, Saeid. 

    On Sunday, July 2, 2017 8:27 PM, Saeid Bostandoust <ssbostan at yahoo.com> wrote:
 

 Im resolve a problem with a simple hack...1- duplicate topodroid scrap with topodroid survey.sql file now we have more than one scraps with same draw.2- split a cave into small scraps on locations near to the stations and just wall around them.3- remove not needed points, lines, areas and etc.4- now we have a project with all of stations and more than one scraps with draw.This is a best simple way i think for split a sketch and your drawing...Thanks, Saeid.

 

    On Sunday, July 2, 2017 1:04 PM, Martin Sluka <martinsluka at mac.com> wrote:
 

 Send me your files please. I'll chect it at evening - it is half past 10 a.m. here. 

Odesláno z iPhonu
2. 7. 2017 v 10:30, Saeid Bostandoust <ssbostan at yahoo.com>:


Im check it, all of my points, lines and etc... between scrap and endscarp and all of my design between cave wallsbut a problem not resolve.
 

    On Sunday, July 2, 2017 12:44 PM, Martin Sluka via Therion <therion at speleo.sk> wrote:
 

 An scrap is a unit from which all Therion's output are created. 
So all objects of particular scrap MUST be between lines scrap - endsrap in th2 files. Of they are outside, they will not be drawn. 
It is not simple work, all active objects of an active scrap are in blue. On top right corner of map editor is a window where is structure of your th2 file. Above it are buttons for selecting different parts of overall th2 file. Select the particular scrap by that button and check on map window if everything of that scrap is selected. If not check the line number of endscrap command of that scrap. There is a button "Move to" just bellow  of window with th2 structure. Write there line number of endscrap, select missing objects on by one and press "Move to". 
Repeat it untill all objects will be in their particular scraps. 
Sorry, but no more simple way. 
Recommendation: Create small scraps  from beginning. 
m.s. 
Odesláno z iPhonu
2. 7. 2017 v 9:20, Saeid Bostandoust via Therion <therion at speleo.sk>:


Im resolve the problem by split my scrap into small scraps but another problems occurs.1- scrap outline intersects itself2- most of pit lines, slope lines, rock-border lines and etc... not exported to pdfWhat should i do?

####################### metapost log file ########################
This is MetaPost, version 1.209 (kpathsea version 5.1.0) (mem=mpost 2010.01.31)  2 JUL 2017 09:52
**data.mp
(./data.mp [4001] [4002] [4003] [4004] [4005] [4006] [4007] [4008] [4009] [4010
] [4011] [4012] [4013]
[1] [2]
[Warning: scrap outline intersects itself in scrap Cave-Plan4 at Shapur]
[Warning: scrap outline intersects itself in scrap Cave-Plan4 at Shapur] [3]
[4] [5] [6] [7] [8]
[Warning: scrap outline intersects itself in scrap Cave-Plan2 at Shapur] [9]
[10] [11]
[Warning: scrap outline intersects itself in scrap Cave-Plan1 at Shapur] [12]
[13] [14] (./mptextmp.mp) [15] ) 

    On Sunday, July 2, 2017 10:31 AM, Saeid Bostandoust via Therion <therion at speleo.sk> wrote:
 

 Thanks for answering.I found the problem nearly, my project plan is very large and a th2 file of plan is about 23000 lines, im delete most of lines and reduce it to near 5000 lines and all done without errors... what should i do now?maybe 23000 lines cannot be parsed and processed with metapost... 

    On Sunday, July 2, 2017 6:55 AM, michael brewer via Therion <therion at speleo.sk> wrote:
 

 #yiv4010411386 -- filtered {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}#yiv4010411386 filtered {panose-1:2 4 5 3 5 4 6 3 2 4;}#yiv4010411386 filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv4010411386 filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}#yiv4010411386 p.yiv4010411386MsoNormal, #yiv4010411386 li.yiv4010411386MsoNormal, #yiv4010411386 div.yiv4010411386MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;}#yiv4010411386 a:link, #yiv4010411386 span.yiv4010411386MsoHyperlink {color:blue;text-decoration:underline;}#yiv4010411386 a:visited, #yiv4010411386 span.yiv4010411386MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv4010411386 p.yiv4010411386MsoAcetate, #yiv4010411386 li.yiv4010411386MsoAcetate, #yiv4010411386 div.yiv4010411386MsoAcetate {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;}#yiv4010411386 p.yiv4010411386msonormal0, #yiv4010411386 li.yiv4010411386msonormal0, #yiv4010411386 div.yiv4010411386msonormal0 {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv4010411386 p.yiv4010411386msonormal, #yiv4010411386 li.yiv4010411386msonormal, #yiv4010411386 div.yiv4010411386msonormal {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv4010411386 p.yiv4010411386msochpdefault, #yiv4010411386 li.yiv4010411386msochpdefault, #yiv4010411386 div.yiv4010411386msochpdefault {margin-right:0cm;margin-left:0cm;font-size:12.0pt;}#yiv4010411386 span.yiv4010411386msohyperlink {}#yiv4010411386 span.yiv4010411386msohyperlinkfollowed {}#yiv4010411386 span.yiv4010411386emailstyle18 {}#yiv4010411386 p.yiv4010411386msonormal1, #yiv4010411386 li.yiv4010411386msonormal1, #yiv4010411386 div.yiv4010411386msonormal1 {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;}#yiv4010411386 span.yiv4010411386msohyperlink1 {color:#0563C1;text-decoration:underline;}#yiv4010411386 span.yiv4010411386msohyperlinkfollowed1 {color:#954F72;text-decoration:underline;}#yiv4010411386 p.yiv4010411386msonormal01, #yiv4010411386  li.yiv4010411386msonormal01, #yiv4010411386 div.yiv4010411386msonormal01 {margin-right:0cm;margin-left:0cm;font-size:11.0pt;}#yiv4010411386 span.yiv4010411386emailstyle181 {color:windowtext;}#yiv4010411386 p.yiv4010411386msochpdefault1, #yiv4010411386 li.yiv4010411386msochpdefault1, #yiv4010411386 div.yiv4010411386msochpdefault1 {margin-right:0cm;margin-left:0cm;font-size:10.0pt;}#yiv4010411386 span.yiv4010411386BalloonTextChar {}#yiv4010411386 span.yiv4010411386EmailStyle31 {color:#1F497D;}#yiv4010411386 .yiv4010411386MsoChpDefault {font-size:10.0pt;}#yiv4010411386 filtered {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv4010411386 div.yiv4010411386WordSection1 {}#yiv4010411386 HiI had this error recently and solved it by changing the scale of the output from 1 500 to 1 1000. I assumed  my output was exceeding the size allowable for the pdf document?  Michael  From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Saeid Bostandoust via Therion
Sent: Sunday, July 2, 2017 8:56 AM
To: List for Therion users
Cc: Saeid Bostandoust
Subject: Re: [Therion] Metapost exit code -- 2  Thanks Bruce, but i dont understand how can i found the problem and what is that realy...  On Sunday, July 2, 2017 12:26 AM, Bruce Mutton via Therion <therion at speleo.sk> wrote:  SaeidTry this https://therion.speleo.sk/wiki/faq#what_does_error_--_cp_exit_code_--_2_mean Bruce From: Therion [mailto:therion-bounces at speleo.sk] On Behalf Of Saeid Bostandoust via Therion
Sent: Sunday, 2 July 2017 3:36 AM
To: therion at speleo.sk
Cc: Saeid Bostandoust <ssbostan at yahoo.com>
Subject: [Therion] Metapost exit code -- 2 Hi, What is this exit code? and why it happen? and how to cor



   

   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170702/b589bc11/attachment.htm>


More information about the Therion mailing list