Skip to content

Commit 3527ed5

Browse files
committed
main
1 parent 1777eb6 commit 3527ed5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WORKDIR /app
3232
COPY requirements.txt requirements.txt
3333

3434
# Install Python dependencies
35-
RUN pip install -r requirements.txt
35+
RUN pip install --no-cache-dir -r requirements.txt
3636

3737
# Copy app files
3838
COPY . .

dxf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
class SurveyDXFManager:
20-
def __init__(self, plan_name: str = "Survey Plan", scale: float = 1.0, dxf_version="R2010"):
20+
def __init__(self, plan_name: str = "Survey Plan", scale: float = 1.0, dxf_version="R2007"):
2121
self.plan_name = plan_name
2222
self.scale = scale
2323
self.doc = ezdxf.new(dxfversion=dxf_version)

models/plan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class PlanProps(BaseModel):
161161
longitudinal_profile_parameters: Optional[LongitudinalProfileParameters] = None
162162
footers: List[str] = []
163163
footer_size: float = 0.5
164-
dxf_version: str = "R2010"
164+
dxf_version: str = "R2007"
165165

166166
def get_drawing_scale(self):
167167
if not self.scale:

0 commit comments

Comments
 (0)