Commit 5eda8a52 authored by CHARRAS's avatar CHARRAS
Browse files

First draft (and first code..) about new zone handling

parent ee3d9844
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
ADD_DEFINITIONS(-DPCBNEW)
ADD_DEFINITIONS(-DPCBNEW)


INCLUDE_DIRECTORIES(../pcbnew)
INCLUDE_DIRECTORIES(../pcbnew ../polygon)


SET(3D-VIEWER_SRCS
SET(3D-VIEWER_SRCS
	3d_aux.cpp
	3d_aux.cpp
+1 −1
Original line number Original line Diff line number Diff line
EXTRALIBS =
EXTRALIBS =
EXTRACPPFLAGS= -I./ -I../include -I../common -I../pcbnew
EXTRACPPFLAGS= -I./ -I../include -I../common -I../polygon -I../pcbnew


CPPFLAGS += $(EXTRACPPFLAGS)
CPPFLAGS += $(EXTRACPPFLAGS)


+8 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,14 @@ Started 2007-June-11
Please add newer entries at the top, list the date and your name with
Please add newer entries at the top, list the date and your name with
email address.
email address.


2007-Dec-29 UPDATE  Jean-Pierre Charras <jean-pierre.charras@inpg.fr>
================================================================================
+pcbnew:
	First draft (and code..) about new zone handling, using polygons to define an outline.
	Now currently not useable because the fill function (and many other important functions) is not implemented.
	Many functions are not yet implemented: merging zones, cutout, DRC ...
	Nevertheless, one can create, modify edit and save zone outlines



2007-Dec-23 UPDATE   Dick Hollenbeck <dick@softplc.com>
2007-Dec-23 UPDATE   Dick Hollenbeck <dick@softplc.com>
================================================================================
================================================================================
+2 −0
Original line number Original line Diff line number Diff line
@@ -4,6 +4,7 @@ INCLUDE_DIRECTORIES(
	${CMAKE_CURRENT_SOURCE_DIR}
	${CMAKE_CURRENT_SOURCE_DIR}
	bitmaps
	bitmaps
	../3d-viewer
	../3d-viewer
	../polygon
	../pcbnew)
	../pcbnew)


SET(CVPCB_SRCS
SET(CVPCB_SRCS
@@ -35,6 +36,7 @@ SET(CVPCB_SRCS
SET(CVPCB_EXTRA_SRCS
SET(CVPCB_EXTRA_SRCS
	../pcbnew/basepcbframe.cpp
	../pcbnew/basepcbframe.cpp
	../pcbnew/class_board.cpp
	../pcbnew/class_board.cpp
	../pcbnew/class_zone.cpp
	../pcbnew/class_cotation.cpp
	../pcbnew/class_cotation.cpp
	../pcbnew/class_edge_mod.cpp
	../pcbnew/class_edge_mod.cpp
	../pcbnew/class_equipot.cpp
	../pcbnew/class_equipot.cpp
+10 −2
Original line number Original line Diff line number Diff line
# makefile pour cvpcb (mingw)
# makefile pour cvpcb (mingw)
OBJSUFF = o
OBJSUFF = o


EXTRACPPFLAGS += -DCVPCB -fno-strict-aliasing -I./ -I../cvpcb -I../include -Ibitmaps -I../pcbnew -I../3d-viewer
EXTRACPPFLAGS += -DCVPCB -fno-strict-aliasing\
EXTRALIBS = ../common/common.a
	-I./ -I../cvpcb -I../include -Ibitmaps\
	-I../pcbnew -I../3d-viewer\
	-I../polygon

EXTRALIBS = ../common/common.a ../polygon/lib_polygon.a


LIBVIEWER3D = ../3d-viewer/3d-viewer.a
LIBVIEWER3D = ../3d-viewer/3d-viewer.a


@@ -10,6 +14,7 @@ LIBVIEWER3D = ../3d-viewer/3d-viewer.a


OBJECTS = $(TARGET).o \
OBJECTS = $(TARGET).o \
			class_cvpcb.o\
			class_cvpcb.o\
			class_zone.o\
            memoire.o \
            memoire.o \
			cvframe.o\
			cvframe.o\
			listboxes.o\
			listboxes.o\
@@ -69,6 +74,9 @@ classpcb.o: ../pcbnew/classpcb.cpp $(DEPEND)
class_mire.o: ../pcbnew/class_mire.cpp ../pcbnew/class_mire.h $(COMMON)
class_mire.o: ../pcbnew/class_mire.cpp ../pcbnew/class_mire.h $(COMMON)
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp


class_zone.o: ../pcbnew/class_zone.cpp ../pcbnew/class_zone.h $(COMMON)
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp

class_cotation.o: ../pcbnew/class_cotation.cpp ../pcbnew/class_cotation.h $(COMMON)
class_cotation.o: ../pcbnew/class_cotation.cpp ../pcbnew/class_cotation.h $(COMMON)
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp
	$(CXX) -c $(EDACPPFLAGS) -o $@ ../pcbnew/$*.cpp


Loading