PROBLEM TO BE SOLVED: To provide a levee-plastering machine whose connection mechanism portion can easily be moved to a position having a desired offset angle in spite of the change of a tractor size and the change of field conditions without requiring the skill of operations.SOLUTION: This levee-plastering machine 1 has a controller which controls the extension or contraction of an offset cylinder 50 and a direction cylinder 31, when the travel direction of a tractor is changed to change the working position and the working direction of a working portion 20, and stops the execution of an automatic straight travel work control mode, when a tractor is turned in a direction separating from a levee U to give a prescribed offset angle &theta of a connection mechanism portion 40 to the levee U during the execution of the automatic straight travel work control mode for keeping a straight levee-plastering work. The offset angle &theta of the connection mechanism portion 40 to the levee U is calculated on a detection value from a swinging angle sensor for detecting the swinging angle of the connection mechanism portion 40 and on a detection value from a rotation angle sensor for detecting the rotation angle of the working portion 20 to the movement end side of the connection mechanism portion 40.COPYRIGHT: (C)2008,JPO&INPIT【課題】操作の熟練が不用でトラクタの大きさや圃場条件の変化に拘わらず、連結機構部を所望のオフセット角度を有した位置に容易に移動させる。【解決手段】畦塗り機1は、トラクタの走行方向が変化して作業部20の作業位置、作業方向が変化するとオフセットシリンダ50及び方向シリンダ31の伸縮を制御して直線状の畦塗り作業を維持する自動直進作業制御モードを実行しているときにトラクタが畦Uから離反する方向に旋回して畦Uに対する連結機構部40のオフセット角度θが所定値になると、自動直進作業制御モードの実行を中止するコントローラを装備する。畦Uに対する連結機構部40のオフセット角度θは装着部10に対する連結機構部40の揺動角度を検出する揺動角センサからの検出値と連結機構部40の移動端側に対する作業部20の回動角度を検出する回動角センサからの検出値をもとに算出される。【選択図】図2